I have an array of strings. I need to create an object in which the keys are the values from the strings to the left of the = symbol, and their values are the text in the string to the right of the = symbol in the string. Can you please tell me how to implement this?
const testArray = ["test1=25", "test2=1", "test3=2015-01-02" ]
const testObjects = ???
// i want to get similar object
{
test1: "25",
test2: "1",
test3 : "2015-01-02",
}