Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>The For Loop</title>
- </head>
- <body>
- <script>
- for (var i =1; i <10; i++)
- {
- document.write("this loop has iterated "+ i + " time(s),<br>");
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement