Adhoc Systems

Recent Posts

In reply to

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.<br><br>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.

Back To Top