The global object should not be the "global scope instance object"

Andreas Rossberg rossberg at google.com
Fri Jan 27 00:08:36 PST 2012


On 27 January 2012 01:57, Brendan Eich <brendan at mozilla.org> wrote:
> You're right, the entire outer <script> has been parsed and declarations
> processed before anything runs. And the script element is appended to the
> DOM too. It all works, except of course you can't tell what's potentially
> shadowing anything!

True, but is that any worse than the situation today, where you have
overwriting instead of shadowing?

/Andreas


More information about the es-discuss mailing list