📜  javascript代码示例中的for循环任务

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

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