It turns out you can't replace all JavaScript functions with arrow functions because they do completely different things with `this` >_<
-
-
If you're wondering how you actually do arrow function methods, the accepted answer on Stack Overflow is "You can't, this is impossible"
-
@qntm FWIW you usually don't need arrow methods, as you can just write " method() { return ... } " in an object literal. - 3 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.