3 ms·
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:arr
by jashkenas 15y 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_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}