r/eli5_programming • u/j_gets • Nov 02 '17
ELI5: Javascript arrow function notation?
And what are the advantages of arrow notation vs standard?
10
Upvotes
r/eli5_programming • u/j_gets • Nov 02 '17
And what are the advantages of arrow notation vs standard?
View all comments
Show parent comment
1
u/fukitol- Nov 03 '17
Honestly I'm not sure how I feel about changing the context of this. It sounds good on the surface, but I don't like magic and making an arrow function's this behave differently than everything else is magic.