uncurryThis uses bind twice #4811
Answered
by
aduh95
saurabhraushan
asked this question in
Q&A
Replies: 0 comments 2 replies
|
bro, could you please paste the sample code here? This will help us understand your question better. |
0 replies
|
I don't know if it helps, but it used to be even more convoluted: nodejs/node#36866 I wouldn't worry too much if you don't understand it, no one should need to make their own |
0 replies
Answer selected by
avivkeller
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if it helps, but it used to be even more convoluted: nodejs/node#36866
I wouldn't worry too much if you don't understand it, no one should need to make their own
uncurryThis, if you're happy to take my word for it, just know it's equivalent toconst uncurryThis = (fn) => (this, ...args) => Reflect.apply(fn, this, args).