In Node, `this` is the exports object (for reasons of historical weirdness).  But if we're not setting a global reference, then it doesn't matter.

The surest "global getter" that I've ever seen is `(function () { return this; }).call(null)`.  You could do something like `(function () { return this; }).call(null).window` so that it's empty if there's no global window defined, or the global `window` in any web browser.