arrow function syntax simplified
Brendan Eich
brendan at mozilla.com
Wed Mar 28 14:13:35 PDT 2012
Allen Wirfs-Brock wrote:
> We don't need thin arrow and we really don't need the confusion it
> would create.
The case for thin-arrow is body block. Instead rejecting -> and
approving do-expressions results in something a bit overlong (=>do) that
has TCP. And I think it's plausible that this will lead to completion
value leaks, wrong-returns, etc. as Kevin suggests.
/be
More information about the es-discuss
mailing list