DEV Community

Discussion on: The Arrow Function in JS!

Collapse
 
ziratsu profile image
Ustariz Enzo

Agreed too, but I think that the function keyword is more comprehensible for a beginner, that's why I've used it there.
But in a real workflow the shorter version is better.