open_in_new
content_copy
const array = [1,2,3,4] array.forEach(number => console.log(number)) // [1] // [2] // [3] // [4]