Nov 01, 2019 · 2. Loop Over Array & Construct a New Object. For the second method, we're going to loop over each item in an array and add each of its values as a new property in a new object. To match the object returned in the last section, the key value will be the array index for each item.