Loops
Prerequisites: if / else if / else
A loop repeats a block of code, instead of writing the same instruction
many times. JavaScript has several kinds — for (a fixed number of
times, or over a known sequence) and while (until a condition becomes
false) are the two covered next.