MyRepo-Ums/node_modules/engine.io-client/build/esm-debug/globalThis.browser.js

12 lines
245 B
JavaScript
Raw Normal View History

2024-01-19 10:09:11 +00:00
export const globalThisShim = (() => {
if (typeof self !== "undefined") {
return self;
}
else if (typeof window !== "undefined") {
return window;
}
else {
return Function("return this")();
}
})();