code fellows 102
For info about operations see previous notes: Dynamic web pages with JavaScript or check out these references:
A Loop in coding is a fast way to do something repetedly and quickly. Types of loops include:
- for statement
- do...while statement
- while statement
- labeled statement
- break statement
- continue statement
- for...in statement
- for...of statement
This type of loop repeats until the condition returns as false.
This type of loop repeats until a specified condition evaluates to false.
This type of statement continues to function only if the value is true
This type of statement adds an id to the statement to add it somewhere else.
This type of statement to terminate and end a loop.
This type of statement to restart a while, do-while, for, or label statement.
This type of statement to iterates a specified variable over all the enumerable properties of an object
This type of statement to make a loop Iterating over iterable objects including: Array, Map, Set, arguments ,object, etc. invoking a custom iteration hook with statements to be executed for the value of each distinct property.
Here's more on this topic: Loop Examples and Tutorials