let arr = [ 1, 2, 3, 4, "apple", "tomato"] for(let i=0; i<arr.length; i++){ printArr = arr[i] console.log(printArr) //1 2 3 4 "apple" "tomato" }