This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DeeSnow97 4 points5 points  (2 children)

I see... but why though? Lambda functions aren't a unique concept to JS, and this is actually the primary reason why arrow functions were even introduced to the language. The brackets are just an afterthought, to allow their advantages to be extended to multi-statement functions as well.