uncurryThis uses bind twice #4811
-
|
i don't understand this line plz help |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
|
bro, could you please paste the sample code here? This will help us understand your question better. |
Beta Was this translation helpful? Give feedback.
-
|
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 |
Beta Was this translation helpful? Give feedback.
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).