Questions re. final fat arrow syntax

Axel Rauschmayer axel at rauschma.de
Sun Apr 8 00:51:05 PDT 2012


>> 3. Are parenthese required for zero arguments or will
>> let a = => doThis();
>> syntax be permitted (in line with CS)
> 
> This too is clearly specified by
> 
> http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax#grammar_changes
> 
> ArrowFormalParameters, second right-part.


That seems useful. What’s the rationale for not support it?

Thanks!

Axel

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120408/53180011/attachment.html>


More information about the es-discuss mailing list