Unit_AI/node_modules/formdata-node/lib/esm/browser.js

11 lines
259 B
JavaScript
Raw Normal View History

2024-06-01 21:24:36 +01:00
const globalObject = (function () {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
return window;
}());
export const { FormData, Blob, File } = globalObject;