for (let obj of arr) { console.log("object:", obj); for (let key in obj) { console.log(" key:", key, "value:", obj[key]); } }