classes and enumerability

Glen Huang curvedmark at gmail.com
Wed Dec 24 01:32:09 PST 2014


Nothing. I forgot about those methods, and Kevin also kindly reminded me.

Thanks for letting me know. :)

> On Dec 24, 2014, at 5:22 PM, Brendan Eich <brendan at mozilla.org> wrote:
> 
> 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