Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const add3 = (x, y, z) => x + y + z
- const add2PlusTen = add3.bind(null, 10)
- console.log(add2PlusTen(1, 2)) // 13
- console.log(add2PlusTen(10, 10)) // 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement