oh, that's cute :D

too bad I cannot shim/polyfill that in my `Object.mixin` module.

I would simply *red-flag* it and discourage the usage of `__proto__`
everywhere is possible (uhm wait ... I've already done that in the past,
never mind ... )

Happy `__dunder__` Everybody,
  Cheers




On Tue, Oct 15, 2013 at 4:03 PM, Allen Wirfs-Brock <[email protected]>wrote:

>
> On Oct 15, 2013, at 3:19 PM, Dean Landolt wrote:
>
> >
> > So just to be clear, the only way to add a __proto__ property to an
> existing object is with Object.defineProperty?
> >
>
>
> Object.mixin(obj, {["__proto__"]:42});
>
> Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to