classes and enumerability

Brendan Eich brendan at
Thu Jan 29 11:55:41 PST 2015

Announcement: ES6 class method syntax makes a non-enumerable property of 
the method's name on the class prototype. That is all. :-)


Brendan Eich wrote:
> Herby Vojčík wrote:
>>> Personally, I have always believed we are going down the wrong path by
>>> switching (from the original max-in class design) to making methods
>>> defined within a class definition enumerable.
>> Yes, please, if possible, go back to non-enum methods. I was writing 
>> at that time as well, but things ended up enumerable. I even cited a 
>> real-world example (Amber objects used in jQuery API as options 
>> objects), where enum methods broke the functionality, but non-enum 
>> methods allowed things to work. 
> On the agenda for next week, at 4(iii):
> /be
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list