40 lines
970 B
JavaScript
40 lines
970 B
JavaScript
// Module ID: 4436
|
|
// Function ID: 4437
|
|
// Dependencies: [542, 551, 541]
|
|
|
|
// Module 4436
|
|
const obj = {};
|
|
try {
|
|
obj.__proto__ = null;
|
|
let _module = require("module_542");
|
|
if (_module) {
|
|
const _Object = Object;
|
|
_module = require("module_542")(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 = require("callBindBasic")(items);
|
|
}
|
|
if (!setDunder) {
|
|
setDunder = function setDunder(arg0, arg1) {
|
|
if (null == arg0) {
|
|
const tmp6 = new require(541)("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;
|
|
}
|