📜  javascript代码示例中的循环数组

📅  最后修改于: 2022-03-11 15:02:15.201000             🧑  作者: Mango

代码示例6
var colors = ["red", "green", "blue"];
for(var i = 0; i < colors.length; i++){
    console.log(colors[i]);
}