Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- <title>JS Bin</title>
- </head>
- <body>
- <script id="jsbin-javascript">
- const square = a => a * a;
- console.log(square(8));
- [1,3,4,8,2,6].map(a => a * a);
- </script>
- <script id="jsbin-source-javascript" type="text/javascript">const square = a => a * a;
- console.log(square(8));
- [1,3,4,8,2,6].map(a => a * a);</script></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement