Files
discord-clone/node_modules/unenv/runtime/polyfill/globalThis.cjs
2023-01-03 09:29:04 -06:00

30 lines
456 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
module.exports = void 0;
function getGlobal() {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
if (typeof window !== "undefined") {
return window;
}
if (typeof global !== "undefined") {
return global;
}
return {};
}
var _default = getGlobal();
module.exports = _default;