The global object as the "global scope instance object"

Andreas Rossberg rossberg at google.com
Mon Jan 23 07:20:56 PST 2012


On 23 January 2012 15:58, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
> Putting properties on the global object is an important use case.
> We don't want people to need to reach for |var| when they want to do
> this (see t-shirt discussion).  Therefore, we may well need to
> compromise some cleanups we might make to the top-level otherwise if
> it wasn't for these two constraints.

Granted. The proposal is an attempt to address this use case without
violating other goals.

/Andreas


More information about the es-discuss mailing list