10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
export function getGlobalScope() {
|
|
if (typeof global !== 'undefined')
|
|
return global;
|
|
if (typeof window !== 'undefined')
|
|
return window;
|
|
if (typeof self !== 'undefined')
|
|
return self;
|
|
return;
|
|
}
|
|
//# sourceMappingURL=getGlobalScope.js.map
|