Using Iteration In JS
Print out a row of things
<html><head><title>Test Page</title></head> <body>
    <script language="JavaScript">
   var i;
   for (i=0; i<5; i++) {
      document.write('[ ' + i + ' ]');
   }
    </script></body>
</html>