for-of loops, IteratorClose and the rest of the iterations in the spec

Allen Wirfs-Brock allen at wirfs-brock.com
Wed Sep 10 10:33:40 PDT 2014


On Sep 10, 2014, at 10:24 AM, Brendan Eich wrote:

> You want aggressive common sub-expression elimination on the specs (all of them, as bz noted).
> 
> Is there a common helper spec-only method that can be used both inside ES6 and by other specs?

Not yet.  Probably should be, but I have to prioritize and time is short.

Personally, I would prefer to see W3C specs using ES as their specification language wherever possible.  Then for-loops would explicitly be for-of loops.

Allen





More information about the es-discuss mailing list