qwqdanchun.github.io/node_modules/engine.io-client/build/cjs/globalThis.browser.js

15 lines
350 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.globalThisShim = void 0;
exports.globalThisShim = (() => {
if (typeof self !== "undefined") {
return self;
}
else if (typeof window !== "undefined") {
return window;
}
else {
return Function("return this")();
}
})();