classes and enumerability

Brendan Eich brendan at
Wed Dec 24 10:41:26 PST 2014

Kevin Smith wrote:
> I looked through my ES6 code and found a place where I was using 
> `Object.assign` as an simplistic mixin function.

ES5 introspection APIs are enough, and if you're mixing in from an ES6 
class using old code, you face the same non-enumerable-methods surface 
that you would with a built-in class.

>   It might be a pain to have to import a userland utility for such cases.

How so?


More information about the es-discuss mailing list