decord/source/804_baseAssignValue.js

20 lines
454 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 804
// Function ID: 805
// Name: baseAssignValue
// Dependencies: [805]
// Module 804 (baseAssignValue)
2026-08-24 06:08:38 +00:00
import getNative from "getNative" /* 805 */;
2026-07-29 08:29:29 +00:00
export default function baseAssignValue(arg0, arg1, arg2) {
if ("__proto__" == arg1) {
2026-08-24 06:08:38 +00:00
if (getNative) {
2026-07-29 08:29:29 +00:00
const obj = { configurable: true, enumerable: true, value: null, writable: true };
obj[2] = arg2;
2026-08-24 06:08:38 +00:00
getNative(arg0, arg1, obj);
2026-07-29 08:29:29 +00:00
}
}
arg0[arg1] = arg2;
};