itration through objects which has both array and objects in javascript 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
}