Loops: Other kinds of loops

We have two other kinds of loops in JavaScript.

The first is Array.forEach(), and then we have Array.map().

Notice I prefixed Array. to them, because they are methods of an array.

We’ll see what this means when we’ll get to methods, and functions.

In the meantime, keep in mind those are other kinds of loops.

Lessons in this unit:

0: Introduction
1: The `for` loop
2: The `do-while` loop
3: The `while` loop
4: The `for-of` loop
5: The `for-in` loop
6: ▶︎ Other kinds of loops
Want to learn more? Check out our courses