JavaScript Loops

Javascript has a few different ways to control flow, otherwise known as loops

You can type js for or js while to get more info on any of these.

Links: MDN for loop

related: for, while, for-each, for-of, for-in

advanced: comprehensions, iterators