Adhoc Systems

In reply to https://seblog.nl/2019/08/13/1/arrow-functions

Zachary Dunn

zack@adhoc.systems

Published on

I like that they're shorter, using one style means I don't have to think about the differences between the two, and arrow functions emphasizes that functions are just variables.

Also, your two examples aren't exactly equivalent. The arrow functions has an implicit return, so it returns whatever `stuff()` returns. The `function` based function has no return value.