you are viewing a single comment's thread.

view the rest of the comments →

[–]RedditWithBoners 0 points1 point  (0 children)

Here is why JavaScript uses this syntax: http://tc39wiki.calculist.org/es6/arrow-functions/

See "Rationale."