What is the output of the following code?
var colors = ["red", "green", "blue"];
for (var index in colors) {
console.log(colors[index]);
}
What is the output of the following code?
var colors = ["red", "green", "blue"];
for (var index in colors) {
console.log(colors[index]);
}