HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by nxn | Hacker News Reader
Parent
Full thread
nxn
·
I thought the # shorthand for functions proposal was rejected?
View on HN
jashkenas
·
It was indeed. None of the function shorthands made it into ES.next, but the current leading contenders are:
http://wiki.ecmascript.org/doku.php?id=strawman:arrow_functi...
(x) -> x * x
And
http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda...
{|x| x * x}
Reply on news.ycombinator.com