Re:How JavaScript Works: deep dive into call, apply, and bind
by Arnavion on Friday July 09, 2021 @06:47PM
(#27789380)
If the goal is to call functions on things whose prototype does not define them, then yes arrow functions cannot replace `call` and `apply`. They can't replace `bind` in such a situation either, but the precondition of this subthread was where `bind` can be replaced with an arrow function, ie the bound function is being called on the same `this` in the first place.
[ Parent
| on HN ]
There are no comments on this comment yet.