classes and enumerability

Brendan Eich brendan at mozilla.org
Wed Dec 24 01:22:44 PST 2014


ES5 has Object static methods for getting all own property names,
enumerable or not. Also walking prototype chain. What's the problem
you're thinking of, exactly?

/be

Glen Huang wrote:
>
> I was saying that a feature like lightweight traits is probably
> impossible to desugar to es5, if class syntax makes properties and
> methods non-enum.


More information about the es-discuss mailing list