Last active
February 25, 2017 01:12
-
-
Save halan/abe71c928c64fe5bce38c606bbb39d4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const add = (a, b) => a + b; | |
add.length // 2 | |
const add10 = add.bind(this, 10); | |
add10.length // 1 | |
console.log(add10(5)); // 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment