Loops in JavaScript.