On Oct 15, 2013, at 2:10 PM, Benjamin (Inglor) Gruenbaum wrote:

> Not resolving this like o3 (or o6 really) sounds very strange. I think:
> 
> let attr = "__proto__";
> let o7 = new Object;
> o7[attr] = p; // o7 inherits from p
> 
> Is the correct behavior here (why would it not invoke the setter?)
> 
This case is exactly the same as O6.  Perhaps I should have written O6 as:

   o6[ ("__proto__") ] = p; //o6 inherits from p

to make that clearer.

Allen


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to