classes and enumerability

Kevin Smith zenparsing at gmail.com
Tue Dec 23 21:14:39 PST 2014


>
>
>> I'll just throw out mixins as a possible reason to keep enumerability.
>

I don't think enumerability really bears on mixins in ES6, because (for
one) the mixin source could have symbol-named properties.  A fully-featured
mixin function will need to use Object.getOwnPropertySymbols, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141224/a91aa09c/attachment.html>


More information about the es-discuss mailing list