Loop
↔ Control Flow to repeat Block Execution
do-while
Control Flow JS Keyword to execute once & then check condition whether to repeat
for
for-in
Control Flow to Loop over iterable INCL ANY AND ALL PROPS !avoid
for...of
for await...of
while
Control Flow JS Keyword to set condition during which loop continues to execute
Infinite Loop
Loop w/o Terminal Condition, hang until Stack OverFlow
Terminal Condition
Control Flow Condition to break
Loop
References
Infinite Loop
↔ Loop w/o Terminal Condition, hang until Stack OverFlowTerminal Condition
↔ Control Flow Condition tobreak
Loopfor-in
↔ Control Flow to Loop over iterable INCL ANY AND ALL PROPS !avoid