Khan Academy
Khan Academy: Numbered Repetition of Instructions
Computer programs are full of repetition, since our programs automate and simulate the world around us. Programmers use for loops to repeat a set of instructions a specific number of times.
Khan Academy
Khan Academy: Review: Looping
A review of JavaScripts two kinds of loops, a "while loop" and a "for loop". Nested loops are also reviewed.