31 lines
955 B
JavaScript
31 lines
955 B
JavaScript
// Module ID: 4579
|
|
// Function ID: 4580
|
|
// Name: DefinePropertyOrThrow
|
|
// Dependencies: [4529, 541, 4576, 4580, 4581, 4583, 4584, 4585, 4586]
|
|
|
|
// Module 4579 (DefinePropertyOrThrow)
|
|
|
|
export default function DefinePropertyOrThrow(arg0, arg1, arg2) {
|
|
if (require(4529) /* isObject */(arg0)) {
|
|
if (tmp(4576)(arg1)) {
|
|
let tmp13 = arg2;
|
|
if (!tmp(4580)(arg2)) {
|
|
tmp13 = tmp(4581)(arg2);
|
|
}
|
|
if (tmp(4580)(tmp13)) {
|
|
let tmpResult = tmp(4583);
|
|
tmpResult = tmp(4584);
|
|
return tmpResult(tmpResult, tmp(4585), tmp(4586), arg0, arg1, tmp14);
|
|
} else {
|
|
const tmp17 = new tmp(541)("Assertion failed: Desc is not a valid Property Descriptor");
|
|
throw tmp17;
|
|
}
|
|
} else {
|
|
const tmp10 = new tmp(541)("Assertion failed: P is not a Property Key");
|
|
throw tmp10;
|
|
}
|
|
} else {
|
|
const tmp5 = new tmp(541)("Assertion failed: Type(O) is not Object");
|
|
throw tmp5;
|
|
}
|
|
};
|