FIT100
Iteration
“Iteration” is another term for “repeat”
•Iteration doesn’t suffer from the question of whether the first item is counted … in iteration it always is.  (Use “repeat” and “iterate” interchangeably unless it matters.)
•Iterating is usually called “looping” in programming
•Programming languages have many kinds of statements to help program loops
•In JS we will use the for-statement