yourArray.forEach(function (arrayItem) { var x = arrayItem.prop1 + 2; console.log(x); });
for (let item of items) { console.log(item); // Will display contents of the object inside the array }