let item of items js code example
Example: iterate over array of object javascript and access the properties
for (let item of items) {
console.log(item); // Will display contents of the object inside the array
}
for (let item of items) {
console.log(item); // Will display contents of the object inside the array
}