- for loop
- while loop
- do-while loop
Java Script For loop
The for loop is commonly used when creating a loop.
The following example to learn how a for loop works in Java Script.