It turns out you can't replace all JavaScript functions with arrow functions because they do completely different things with `this` >_<
-
-
Already knowing JavaScript reasonably well doesn't change this, it just flips which is which
-
If you're wondering how you actually do arrow function methods, the accepted answer on Stack Overflow is "You can't, this is impossible"
- 4 more replies
New conversation -
-
-
@qntm Better still, each does a different combination of what you’d expect and the exact opposite, depending on context (because obviously.) -
@SchiefGelaufen My "`this` is a secret invisible named parameter in every function signature" explanation was working fine until now - 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.