15 lines
350 B
JavaScript
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")();
|
|
}
|
|
})();
|