classes and enumerability
nbdd0121 at hotmail.com
Wed Dec 24 16:50:29 PST 2014
Actually I believe that there will not be many cases that we need to use for-in loop in ES6. In most cases enumerate through properties in the prototype chain is not preferable. for-of Object.keys should be enough for enumeration with own properties. If my assumption is correct, since we are less likely to use legacy ways, we will be more able to make a change.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss