Object.mixin, why just for enumerables (?)

Andrea Giammarchi andrea.giammarchi at gmail.com
Thu Oct 3 11:24:18 PDT 2013


I was talking about concrete and usable implementation of those specs.
Updates and contribution always welcome, of course.


On Thu, Oct 3, 2013 at 11:18 AM, Allen Wirfs-Brock <allen at wirfs-brock.com>wrote:

> No, the closest yo a spec that we have is the spec
>
> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.mixin
>
> Andrea Giammarchi <andrea.giammarchi at gmail.com> wrote:
>
> 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/79c60e60/attachment.html>


More information about the es-discuss mailing list