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

14 lines
449 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = exports.Blob = exports.FormData = void 0;
const globalObject = (function () {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
return window;
}());
exports.FormData = globalObject.FormData, exports.Blob = globalObject.Blob, exports.File = globalObject.File;