45 lines
1 KiB
JavaScript
45 lines
1 KiB
JavaScript
|
|
// Module ID: 4440
|
||
|
|
// Function ID: 4441
|
||
|
|
// Dependencies: [542, 551, 541]
|
||
|
|
|
||
|
|
// Module 4440
|
||
|
|
import _mod541 from "module_541" /* 541 */;
|
||
|
|
import _mod542 from "module_542" /* 542 */;
|
||
|
|
import callBindBasic from "callBindBasic" /* 551 */;
|
||
|
|
|
||
|
|
const obj = {};
|
||
|
|
try {
|
||
|
|
obj.__proto__ = null;
|
||
|
|
let _module = _mod542;
|
||
|
|
if (_module) {
|
||
|
|
const _Object = Object;
|
||
|
|
_module = _mod542(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 _mod541("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;
|
||
|
|
}
|