Brendan Eich (2013-10-15T21:50:39.000Z)
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?)

Allen confirmed, but just to be clear, any world where o["foo"] and do { 
let key = "foo"; o[key]; } (do-expression syntax from harmony-era 
strawman) differ is crazytown, and we do not go there.

/be
domenic at domenicdenicola.com (2013-10-21T19:28:34.161Z)
Benjamin (Inglor) Gruenbaum wrote:
> Not resolving this like o3 (or o6 really) sounds very strange. I think:
>
> ```js
> 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?)

Allen confirmed, but just to be clear, any world where `o["foo"]` and `do { let key = "foo"; o[key]; }` (do-expression syntax from harmony-era strawman) differ is crazytown, and we do not go there.