24 lines
613 B
JavaScript
24 lines
613 B
JavaScript
// Module ID: 4506
|
|
// Function ID: 4507
|
|
// Name: assignValue
|
|
// Dependencies: [752, 804]
|
|
|
|
// Module 4506 (assignValue)
|
|
import eq from "eq" /* 752 */;
|
|
import baseAssignValue from "baseAssignValue" /* 804 */;
|
|
|
|
|
|
export default function assignValue(arg0, arg1, arg2) {
|
|
const call = hasOwnProperty.call;
|
|
let tmp2 = typeof call === "unknown" ? hasOwnProperty(arg1) : call(arg0, arg1);
|
|
if (tmp2) {
|
|
tmp2 = eq(arg0[arg1], arg2);
|
|
}
|
|
if (tmp2) {
|
|
tmp2 = undefined !== arg2 || arg1 in arg0;
|
|
const tmp5 = undefined !== arg2 || arg1 in arg0;
|
|
}
|
|
if (!tmp2) {
|
|
baseAssignValue(arg0, arg1, arg2);
|
|
}
|
|
};
|