@formily/shared
Version:
> Formily 工具函数集
24 lines • 515 B
JavaScript
/* istanbul ignore next */
function globalSelf() {
try {
if (typeof self !== 'undefined') {
return self;
}
}
catch (e) { }
try {
if (typeof window !== 'undefined') {
return window;
}
}
catch (e) { }
try {
if (typeof global !== 'undefined') {
return global;
}
}
catch (e) { }
return Function('return this')();
}
export var globalThisPolyfill = globalSelf();
//# sourceMappingURL=global.js.map