2026-08-06 08:05:19 +00:00
|
|
|
// Module ID: 4591
|
|
|
|
|
// Function ID: 4592
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: CreateDataProperty
|
2026-08-06 08:05:19 +00:00
|
|
|
// Dependencies: [4529, 541, 4576, 4592]
|
2026-07-29 08:29:29 +00:00
|
|
|
|
2026-08-06 08:05:19 +00:00
|
|
|
// Module 4591 (CreateDataProperty)
|
2026-07-29 08:29:29 +00:00
|
|
|
|
|
|
|
|
export default function CreateDataProperty(arg0, arg1, arg2) {
|
2026-08-06 08:05:19 +00:00
|
|
|
if (require(4529) /* isObject */(arg0)) {
|
|
|
|
|
if (tmp(4576)(arg1)) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { "[[Configurable]]": true, "[[Enumerable]]": true, "[[Value]]": null, "[[Writable]]": true };
|
|
|
|
|
obj[2] = arg2;
|
2026-08-06 08:05:19 +00:00
|
|
|
return tmp(4592)(arg0, arg1, obj);
|
2026-07-29 08:29:29 +00:00
|
|
|
} 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;
|
|
|
|
|
}
|
|
|
|
|
};
|