JavaScript Array Loop
//Ddefine the array
let items = ["cakes", "banana", "managoes"];
//Using the for loop
for (let i = 0; i < items.length; i++) {
console.log(items[i]);
}
//Check to see the items of the arrays in the console
LazFlex