let arr = ["a", "b", "c"] for (let i in arr){ console.log(i) // 0, 1, 2 } for(let i of arr){ console.log(i) // a, b, c }