On Dec 20, 2013, at 5:32 AM, Andreas Rossberg <[email protected]> wrote:
> For ES7 I would like to revive the do-expression proposal (hopefully
> at the next meeting)
Glad to hear you're in favor! I'll be happy to co-champion. The
const-initializer use case is a good one, but it's also extremely valuable for
code generators (it's got a much stronger equivalence property, aka TCP, than
function(){} or ()=>{}). And more generally, it lets you more clearly localize
temporary variables in a way that comma-expressions (which are ugly anyway)
don't.
Dave
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss