On Apr 15, 2011, at 10:06 PM, Brendan Eich wrote: > On Apr 15, 2011, at 9:56 PM, Sam Tobin-Hochstadt wrote: > >> 1. The global object (which is what's originally under discussion >> here) also gives you "dynamic scope" for top-level variables. > > Right -- this is important and it is a deoptimer
"deoptimizer" > for optimizing implementations, but they can cope. It would be even better to not have to cope, so don't get me wrong: efficiency win is win. Anyway, I agree that the main win (your self-proclaimed reason) is to make lexical scope go all the way up and avoid typo bugs, dynamic property collisions, and worse confusions. /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

