The global object as the "global scope instance object"
rossberg at google.com
Mon Jan 23 05:59:35 PST 2012
On 23 January 2012 14:54, Andreas Rossberg <rossberg at google.com> wrote:
> One thing I noticed with your comments is that they consider the
> global scope almost exclusively from the object perspective, i.e., as
> special syntax for putting properties on the global object. But first
> and foremost, it is a scope, so coherent scoping semantics is at least
> as important. If it is incoherent with other scopes, that is
> confusing, and a serious refactoring hazards. With static scoping,
Oops, vicious Send button... :)
... With static scoping and modules, we have to be more careful about
the scope aspect of the toplevel.
More information about the es-discuss