Skip to content

Instantly share code, notes, and snippets.

Created April 4, 2016 06:44
Show Gist options
  • Select an option

  • Save anonymous/d18ddc8de3f56054bfbfd14b47945ad5 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/d18ddc8de3f56054bfbfd14b47945ad5 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Apr 4, 2016.
    24 changes: 24 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    <!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">
    "use strict";

    var add10 = function add10(a) {
    return a + 10;
    };
    console.log(add10(20));
    </script>



    <script id="jsbin-source-javascript" type="text/javascript">const add10 = (a) => a+10
    console.log(add10(20))
    </script></body>
    </html>
    6 changes: 6 additions & 0 deletions jsbin.soledo.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    "use strict";

    var add10 = function add10(a) {
    return a + 10;
    };
    console.log(add10(20));