Looping array dengan untuk loop
let items = ["cakes", "banana", "managoes"];
for (let i = 0; i < items.length; i++) {
console.log(items[i]);
}
LazFlex
let items = ["cakes", "banana", "managoes"];
for (let i = 0; i < items.length; i++) {
console.log(items[i]);
}