agsamantha/node_modules/formdata-node/lib/esm/browser.js
2024-10-02 15:15:21 -05:00

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;