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

11 lines
259 B
JavaScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
const globalObject = (function () {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
return window;
}());
export const { FormData, Blob, File } = globalObject;