MyRepo-Ums/node_modules/engine.io-client/build/esm-debug/globalThis.browser.js
2024-01-19 11:09:11 +01:00

12 lines
245 B
JavaScript

export const globalThisShim = (() => {
if (typeof self !== "undefined") {
return self;
}
else if (typeof window !== "undefined") {
return window;
}
else {
return Function("return this")();
}
})();