Advertisement
winone1208

JS For loop

Sep 5th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.17 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript" >
  4.  
  5. var x=0
  6.  
  7. for (; x<=20; x++)
  8. {
  9.     document.writeln(x+"<br />");
  10. }
  11.  
  12.  
  13.  
  14. </script>
  15. </head>
  16. <body>
  17. </body>
  18. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement