So perhaps something like `return global || window;`?