23 lines
668 B
JavaScript
23 lines
668 B
JavaScript
// Module ID: 4560
|
|
// Function ID: 4561
|
|
// Name: CreateDataPropertyOrThrow
|
|
// Dependencies: [4499, 541, 4546, 4561]
|
|
|
|
// Module 4560 (CreateDataPropertyOrThrow)
|
|
|
|
export default function CreateDataPropertyOrThrow(arg0, arg1, arg2) {
|
|
if (require(4499) /* isObject */(arg0)) {
|
|
if (tmp(4546)(arg1)) {
|
|
if (!tmp(4561)(arg0, arg1, arg2)) {
|
|
const tmp15 = new tmp(541)("unable to create data property");
|
|
throw tmp15;
|
|
}
|
|
} 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;
|
|
}
|
|
};
|