3 ms·
I thought the # shorthand for functions proposal was rejected?
by nxn 15y ago
I thought the # shorthand for functions proposal was rejected?
- jashkenas 15y agoIt 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_function_syntax http://wiki.ecmascript.org/doku.php?id=strawman:arrow_functi... (x) -> x * x And http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda_revival http://wiki.ecmascript.org/doku.php?id=strawman:block_lambda... {|x| x * x}