DEV Community

Discussion on: ES6 Arrow Function Syntax Explained Simply

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.