"var" declarations shadowing properties from Window.prototype

Brendan Eich brendan at mozilla.com
Sun Aug 12 12:35:53 PDT 2012

Brandon Benvie wrote:
> An even more interesting scenario is something like `global.__proto__ 
> = Proxy.create(....)` 

Yes, I mentioned proxies on the global's proto-chain (and mutable 
__proto__) up-thread, here:


Quote: "We had problems with var being sensitive to the prototype chain, 
particularly with proxies prototyped in SpiderMonkey and mutable 
__proto__. These were arguably implementation bugs, though."

Older thread from January:



More information about the es-discuss mailing list