"var" declarations shadowing properties from Window.prototype

Jonas Sicking jonas at sicking.cc
Sat Aug 11 20:14:42 PDT 2012

On Sat, Aug 11, 2012 at 6:04 PM, Cameron McCormack <cam at mcc.id.au> wrote:
> Are we talking just about attributes here, and not operations?  So
> Window.prototype.open would still exist and there'd be no own "open"
> property on window?

I won't speak for anyone else, but I'm only talking about attributes.
So yes, "open" behaves as you describe.

/ Jonas

More information about the es-discuss mailing list