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

11 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;