getGlobalScope.js 384 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function getGlobalScope() {
  4. if (typeof global !== 'undefined')
  5. return global;
  6. if (typeof window !== 'undefined')
  7. return window;
  8. if (typeof self !== 'undefined')
  9. return self;
  10. return;
  11. }
  12. exports.getGlobalScope = getGlobalScope;
  13. //# sourceMappingURL=getGlobalScope.js.map