(x) => {foo: bar}

Brendan Eich brendan at mozilla.org
Tue Jan 6 10:34:31 PST 2015


Dean Landolt wrote:
> ISTM there's consensus that this is a footgun -- isn't that a kind of 
> spec bug?

No, it's a trade-off, and recent comments in this thread argue against 
complicating the grammar and real-world parsers, and in favor of 
teaching people to parenthesize. Nowhere near consensus on what to do 
about the trade-off. Lots of footguns, more than feet, out there in 
design space.

/be


More information about the es-discuss mailing list