Precedence of yield operator

François REMY francois.remy.dev at outlook.com
Sat Jun 15 07:35:17 PDT 2013


> There is an issue when the argument of an
> intended parenthesis-free function call
> happens to begin with a parenthesis.

Just like there are issues if you want to return an object literal from a 
lambda in JS, you've to use parentheses around it. Not a big deal.

Anyway, I'm not saying we should support paren-free function calls, I'm just 
saying that if we ever do, that would also apply to the "yield 
pseudo-function" of my proposal, too. 



More information about the es-discuss mailing list