const numbers = [1, 2, 3, 4] numbers.forEach(number => { console.log(number); } for (let i = 0; i < number.length; i++) { console.log(numbers[i]); }