let arr = [1,2,5,4,7,8] for (let counter = 0 ; counter <= arr.length ; counter++ ){ console.log(arr[counter]) }