classes and enumerability

Brendan Eich brendan at mozilla.org
Wed Dec 24 01:25:30 PST 2014


Somehow the thread forked, and I see Kevin Smith already wrote a reply 
on the other branch like mine -- sorry about that. But how did the 
thread fork?

/be

Brendan Eich 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.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list