re: JavaScript’s Arrow Functions Explained By Going Down A Slide VIEW POST

FULL DISCUSSION
 

Maybe I read it too fast or I'm too tired but I don't see where you explain why there's no return keyword in your first arrow function example...

 
 

Hey, Dirk is correct with his comment about implicit returns. But, for the sake of clarity, I added another code block showing the same function using the return keyword!

code of conduct - report abuse