Y
Hacker News
new
|
ask
|
show
|
jobs
by
nxn
5468 days ago
I thought the # shorthand for functions proposal was rejected?
1 comments
jashkenas
5468 days ago
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}
link