Object.mixin, why just for enumerables (?)

Andrea Giammarchi andrea.giammarchi at gmail.com
Thu Oct 3 09:18:55 PDT 2013


this is the closest to specs we have today:
https://github.com/WebReflection/object-mixin#object-mixin

it does copy all own descriptors so it's suitable for almost everything you
need but `Symbols` (in any case absent in ES5)

That being said, it will be compatible with my `Symbol`
proposal/shim/polyfill if used.
https://gist.github.com/gitawego/5831179

But I am not testing, neither suggesting, to use the latter one if not
truly needed and not through `Object.mixin`


br


On Thu, Oct 3, 2013 at 6:29 AM, medikoo <medikoo+mozilla.org at medikoo.com>wrote:

> > It's a copy-paste error in the draft:
> > https://bugs.ecmascript.org/show_bug.cgi?id=1999#c1
>
> Great news. Thanks!
>
> Sorry for noise.
>
> /Mariusz
>
>
>
> --
> View this message in context:
> http://mozilla.6506.n7.nabble.com/Object-mixin-why-just-for-enumerables-tp293611p293623.html
> Sent from the Mozilla - ECMAScript 4 discussion mailing list archive at
> Nabble.com.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131003/94ec0a53/attachment.html>


More information about the es-discuss mailing list