📜  javascript for 循环 - Javascript 代码示例

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

代码示例6
JavaScript For Loop: Summary
There are three types of for loops: the regular for loop, the for/in loop and for/of loop.
The for loop iterates through an array.
The for/in loop iterates through the properties of an object.
The for/of loop iterates through iterable objects, like arrays and strings.