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.
this is a stub entry, please help add to it!
Links: MDN for loop
related: for, while, for-each, for-of, for-in
advanced: comprehensions, iterators