Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>JS Bin</title>
  7. </head>
  8. <body>
  9.  
  10. <script id="jsbin-javascript">
  11. let animals = ['frog', 'dog', 'fish', 'zebra', 'lion']
  12.  
  13. for (let x=0; x < animals.length ; x++) {
  14. console.log(animals[x])
  15. }
  16. </script>
  17.  
  18.  
  19.  
  20. <script id="jsbin-source-javascript" type="text/javascript">let animals = ['frog', 'dog', 'fish', 'zebra', 'lion']
  21.  
  22. for (let x=0; x < animals.length ; x++) {
  23. console.log(animals[x])
  24. }</script></body>
  25. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement