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?

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to