Created
June 14, 2020 16:52
-
-
Save CodHeK/aad2149511b79a88178d7878c8152d72 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 f = (...args) => { | |
console.log(args); // [1, 2] | |
} | |
const g = f.bind(null, 1); | |
g(2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment