"var" declarations shadowing properties from Window.prototype

Brendan Eich brendan at mozilla.com
Sun Aug 12 17:08:25 PDT 2012

Boris Zbarsky wrote:
>> But name collisions if the
>> HTML uses a common id= value and the JS wants that for a global var seem
>> scarily likely.
> Yes, using the GSP is more or less a recipe for fail.  That's why I'd 
> hoped to restrict it to quirks mode pages.  Ah, well. 

I was with you on that. I take it "4 out of 5 doctors recommend Trident" 
(pun!) prevailed?


More information about the es-discuss mailing list