B.3.1 The __proto__ pseudo property

Mark S. Miller erights at google.com
Mon Apr 22 20:28:51 PDT 2013


OMG. I omitted the most important constraint:


On Mon, Apr 22, 2013 at 8:11 PM, Mark S. Miller <erights at google.com> wrote:
[...]

> * Normal objects have a [[SetPrototype]] method like
>
>     function [[SetPrototype]] (newValue) {
>         // normal checks for proto acceptability
>         // * either null or an object
>         // * would not create an inheritance cycle
>

           if (! this.[[Extensible]]) {
               throw new TypeError(....);
           }


>         this.[[Prototype]] = newValue;
>     }
>


This indicates that the rest of my message should be read with salt. I
wrote it with as much care and attention. Sigh.

[...]


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130422/8dd356f5/attachment.html>


More information about the es-discuss mailing list