JAVASCRIPT FOR LOOP EXAMPLE
Run
<html>
   <body>      
      <script>
            // for loop example
            for(let a = 0; a < 10; a++) {
               document.write("Current value : " + a);
               document.write("<br />");
            }     
      </script>      
   </body>
</html>