Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

7B-EX1ForLoop

476179 Nov 16th, 2018 80 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <title>The For Loop</title>
  6. </head>
  7.    
  8. <body>
  9. <script>
  10. // prints "i like javascript!" 10 times
  11.    for (var i =1; i <= 10; i++)
  12.     {
  13.       document.write("i like javascript!<br>");
  14.     }
  15.    
  16. </script>
  17. </body>
  18.  
  19. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top