📜  js for - Javascript 代码示例

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

代码示例6
for (let step = 0; step < 5; step++) {
  // Runs 5 times, with values of step 0 through 4.
  console.log(step);
}
0
1
2
3
4