Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 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. const square = a => a * a;
  12.  
  13. console.log(square(8));
  14.  
  15.  
  16. [1,3,4,8,2,6].map(a => a * a);
  17. </script>
  18.  
  19.  
  20.  
  21. <script id="jsbin-source-javascript" type="text/javascript">const square = a => a * a;
  22.  
  23. console.log(square(8));
  24.  
  25.  
  26. [1,3,4,8,2,6].map(a => a * a);</script></body>
  27. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement