Repetition
Repetition, or Loops
There are several ways to execute a statement or block of statements repeatedly. In general, repetitive execution is called looping . It is typically controlled by a test of some variable, the value of which is changed each time the loop is executed. There are several types of loops: for loops, for...in loops, while loops, and do...while loops, each behaves slightly differently and it is up to the programmer to choose the most appropriate

