const colors = ["green", "red", "white"] for (let i in colors) { console.log("color: ", colors[i]) } /* output: color: green color: red color: white */