News for hackers. Stuff that matters.
Re:Avoiding Nested Callbacks in JavaScript by nxn on Thursday June 30, 2011 @02:00PM (#2715062)
I thought the # shorthand for functions proposal was rejected?
Re:Avoiding Nested Callbacks in JavaScript by jashkenas on Thursday June 30, 2011 @02:10PM (#2715100)
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}