Reason why generators do not have references to themselves?

Brendan Eich brendan at
Mon Jan 27 14:49:09 PST 2014

Bradley Meck wrote:
> Unsure on how new syntax features like await should deal w/ multiple 
> operands though, like if await wanted to turn multiple promises into 
> an array. Comma operator takes comma separated list out of the equation.

No one proposed this. Do you have a use-case? Task.js and others provide 
combinators such as choose and join, this seems better (compositional, 
no magic/weird reinterpretation of comma).


More information about the es-discuss mailing list