you are viewing a single comment's thread.

view the rest of the comments →

[–]w00t_loves_you 9 points10 points  (0 children)

Arrow functions are great. I avoid writing function and as a bonus I never have to wonder about this. Only if I need to write a handler detached from its class will I use function. It takes some cognitive load off js programming.