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
Are you intimidated by Git? Can’t figure out merge vs rebase? Are you afraid of screwing up something any time you have to do something in Git? Do you rely on ChatGPT or random people’s answer on StackOverflow to fix your problems? Your coworkers are tired of explaining Git to you all the time? Git is something we all need to use, but few of us really master it. I created this course to improve your Git (and GitHub) knowledge at a radical level. Launching May 21, 2024. Join the waiting list!