A demonstration of loops in JavaScript.