📜  javascript for 循环 - Javascript 代码示例

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

代码示例10
// for loop keeps running while condition is TRUE
for (let rep = 1; rep <= 10; rep++) {
   console.log(`Lifting weights repetition ${rep}`);
}