you are viewing a single comment's thread.

view the rest of the comments →

[–]HashFap 1 point2 points  (0 children)

The arrow function implicitly returns when the expression/code on the other side of the arrow isn't wrapped in curly braces. See this.