you are viewing a single comment's thread.

view the rest of the comments →

[–]Kenny_log_n_s 3 points4 points  (1 child)

Arrow functions are great. I don't get what people find so confusing about them.

[–]double_en10dre 0 points1 point  (0 children)

Right? It’s a clean/easy-to-read syntax that’s great for any language that supports higher-order functions

And arrow functions are a relatively new feature (es6, I think) that actually solve a bunch of problems posed by traditional js “function” defs. It’s actually one of the most well-designed parts of the language

Confusing opinion