Loop statements are sets of commands that execute repeatedly, until a specified condition is met. JavaScript supports five loop statements:
label, although not a loop statement, is frequently used with loop statements. break and continue statements are also used within loop statements. |
for...in statements, which also execute statements repeatedly, are used for object manipulation. See Manipulating Objects with JavaScript. |