Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
44 lines
1.1 KiB
JavaScript
44 lines
1.1 KiB
JavaScript
// Module ID: 4932
|
|
// Function ID: 4933
|
|
// Dependencies: [1283, 1292, 1282]
|
|
|
|
// Module 4932
|
|
import _mod1282 from "module_1282" /* 1282 */;
|
|
import _mod1283 from "module_1283" /* 1283 */;
|
|
import callBindBasic from "callBindBasic" /* 1292 */;
|
|
|
|
const obj = {};
|
|
try {
|
|
obj.__proto__ = null;
|
|
let _module = _mod1283;
|
|
if (_module) {
|
|
const _Object = Object;
|
|
_module = _mod1283(Object.prototype, "__proto__");
|
|
}
|
|
let tmp6 = !("toString" in obj);
|
|
if (tmp6) {
|
|
let setDunder = _module;
|
|
if (setDunder) {
|
|
setDunder = typeof _module.set === "function";
|
|
}
|
|
if (setDunder) {
|
|
const items = [_module.set];
|
|
setDunder = callBindBasic(items);
|
|
}
|
|
if (!setDunder) {
|
|
setDunder = function setDunder(arg0, arg1) {
|
|
if (null == arg0) {
|
|
const tmp6 = new _mod1282("set Object.prototype.__proto__ called on null or undefined");
|
|
throw tmp6;
|
|
} else {
|
|
arg0.__proto__ = arg1;
|
|
return arg1;
|
|
}
|
|
};
|
|
}
|
|
tmp6 = setDunder;
|
|
}
|
|
module.exports = tmp6;
|
|
} catch (tmp2) {
|
|
throw tmp2;
|
|
}
|