mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
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
|