4 ms·
Huh? What's this do in JavaScript? (No sarcasm; I'm mostly in this ecosystem, but I have no idea what this is in reference to.)
by gecko 6y ago
Huh? What's this do in JavaScript? (No sarcasm; I'm mostly in this ecosystem, but I have no idea what this is in reference to.)
- irrational 6y agoThey are called arrow functions (-> looks a bit like an arrow).
- ZephyrBlu 6y agoIt's confusing to write it like -> because the actual operator is =>, which is close but not the same.
- arthurcolle 6y agoisn't it =>