arrow function syntax simplified
waldron.rick at gmail.com
Tue Mar 27 14:29:15 PDT 2012
I think fully TCP- compliant do expressions are pure win, FTR.
I second this, of course, based solely on the experience I had writing up
> > Luke
> > -----Original Message-----
> > From: es-discuss-bounces at mozilla.org [mailto:
> es-discuss-bounces at mozilla.org] On Behalf Of Brendan Eich
> > Sent: Tuesday, March 27, 2012 12:44 PM
> > To: es-discuss
> > Subject: arrow function syntax simplified
> > http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax
> > Use => only with an expression body (do-expressions if accepted allow
> statements and combined with => compete with block-lambdas).
> > Use -> only with body block, as for long-form function.
> > I deferred other accretions.
> > In a rush here, comments and corrections welcome and I'll edit as I can.
> > /be
> > _______________________________________________
> > es-discuss mailing list
> > es-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es-discuss
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss