`this` if the global object is not in the scope chain?

Sam Tobin-Hochstadt samth at ccs.neu.edu
Tue Mar 19 18:34:52 PDT 2013

On Tue, Mar 19, 2013 at 9:25 PM, Axel Rauschmayer <axel at rauschma.de> wrote:
> Is `this` undefined in that case?

I think you may be thinking of the case where a module loader has been
configured to omit the global object.  This isn't quite how it would
work -- instead, the module loader is configured to have a global of
the module loader creator's choosing, which could be
`Object.create(null)`, for example.


More information about the es-discuss mailing list