Andrea Giammarchi <mailto:[email protected]>
October 14, 2013 1:32 PM
I meant that IIRC `obj["__proto__"]` should not invoke that Annex B specified getter (@Benjamin, Annex B is where you'll find everything related indeed) but `obj.__proto__` will ... unless once again I've missed some update.

What you just wrote is not true of __proto__ in SpiderMonkey or other engines I can test (V8, JSC).

It also can't be true via ES6 Annex B, since obj[key] and obj.foo where key = 'foo' both lookup prototype properties and will find Object.prototype.foo.

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

Reply via email to