> For the complete documentation index, see [llms.txt](https://edrus.gitbook.io/mt-it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edrus.gitbook.io/mt-it/1st-month/week-4/javascript/loops-and-iterations.md).

# Loops and Iterations

### JavaScript Loop Statements

|                                                                 |                                                             |   |
| --------------------------------------------------------------- | ----------------------------------------------------------- | - |
| Statement                                                       | Description                                                 |   |
| [break](https://www.w3schools.com/jsref/jsref_break.asp)        | Breaks out of a loop                                        |   |
| [continue](https://www.w3schools.com/jsref/jsref_continue.asp)  | Skips a value in a loop                                     |   |
| [while](https://www.w3schools.com/jsref/jsref_while.asp)        | Loops a code block while a condition is true                |   |
| [do...while](https://www.w3schools.com/jsref/jsref_dowhile.asp) | Loops a code block once, and then while a condition is true |   |
| [for](https://www.w3schools.com/jsref/jsref_for.asp)            | Loops a code block while a condition is true                |   |
| [for...of](https://www.w3schools.com/jsref/jsref_forof.asp)     | Loops the values of any iterable                            |   |
| [for...in](https://www.w3schools.com/jsref/jsref_forin.asp)     | Loops the properties of an object                           |   |
