@malagu/core
Version:
19 lines • 498 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.currentThis = void 0;
function getGlobalThis() {
if (typeof globalThis !== 'undefined') {
return globalThis;
}
if (typeof global !== 'undefined') {
return global;
}
if (typeof window !== 'undefined') {
return window;
}
if (typeof self !== 'undefined') {
return self;
}
}
exports.currentThis = getGlobalThis();
//# sourceMappingURL=global-util.js.map