W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

Re: variable declarations shadowing named properties on window

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 04 Jan 2012 03:34:47 -0500
Message-ID: <4F040F27.7040809@mit.edu>
To: Ojan Vafai <ojan@chromium.org>
CC: Cameron McCormack <cam@mcc.id.au>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Travis Leithead <Travis.Leithead@microsoft.com>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Ian Hickson <ian@hixie.ch>
On 1/4/12 3:24 AM, Ojan Vafai wrote:
> IE and Opera already do this and have done so for a long time, right?

They've allowed var to shadow the frame names, right?

Have they actually put the frame names somewhere on the proto chain 
other than the global itself?  Doing that changes behaviors other than 
that of var....

Received on Wednesday, 4 January 2012 08:35:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:05 UTC