Home / Javascript Tips Generated By ChatGPT / Looping Through Arrays with for Loops in Javascript Iterate over each item in an array. Source Code let fruits = ["Apple", "Banana", "Orange"]; for (let i = 0; i < fruits.length; i++) { console.log(fruits[i]); }