Re: "var" declarations shadowing properties from Window.prototype

Boris Zbarsky:
> I believe they should remain accessor properties.
>
> I think making them all [Replaceable] is likely to cause compat problems.

OK.

> Apart from that, the only difference betewen #1 and #2 is strict-mode
> behavior, right?

Yes.  And we can work around the problem in strict mode if we want, by 
giving the accessor properties setters that do nothing.  Should we do that?

Received on Saturday, 6 October 2012 01:36:47 UTC