DEV Community

Discussion on: ES6 Arrow Function Syntax Explained Simply

Collapse
 
dan_v profile image
Dan V • Edited

I updated the "How did we get here?" section code block slightly to show a more granular progression from maximum to minimum verbosity.

Thanks for all the hearts, unicorns, saves, views, and comments so far! I really appreciate it.

Collapse
 
dan_v profile image
Dan V • Edited

Also added a bit more of an explanation as to why the last example in the "Implicit return" section returns undefined and not the return value of the map(). This topic is a bit out of scope of this particular article, but I thought it might be useful to some.