10 lines
259 B
JavaScript
10 lines
259 B
JavaScript
const globalObject = (function () {
|
|
if (typeof globalThis !== "undefined") {
|
|
return globalThis;
|
|
}
|
|
if (typeof self !== "undefined") {
|
|
return self;
|
|
}
|
|
return window;
|
|
}());
|
|
export const { FormData, Blob, File } = globalObject;
|