"var" declarations shadowing properties from Window.prototype
jonas at sicking.cc
Sat Aug 11 09:07:59 PDT 2012
On Sat, Aug 11, 2012 at 8:57 AM, Brendan Eich <brendan at mozilla.org> wrote:
>> Webkit also puts attributes on objects for non-globals, but I'm not
>> promoting that behavior. Nor do I know of any benefits regarding web
>> compatibility that comes with that behavior.
> Ok, that's what I was getting at. It may be that this is just historical
> consistency for all objects, no global exception, but sounds like we are
> agreeing that the global object needs an exception ("own" promotion of
> attributes and methods) in WebIDL.
Yes. Sounds like we're fully in agreement.
More information about the es-discuss