decord/source/5636__objectWithoutPropertiesLoose.js

38 lines
890 B
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 5636
// Function ID: 5637
2026-07-20 16:05:17 +00:00
// Name: _objectWithoutPropertiesLoose
// Dependencies: []
2026-08-08 06:10:11 +00:00
// Module 5636 (_objectWithoutPropertiesLoose)
2026-07-20 16:05:17 +00:00
export default function _objectWithoutPropertiesLoose(obj, arr) {
if (null == obj) {
return {};
} else {
obj = {};
for (const key10007 in arg0) {
2026-07-29 08:29:29 +00:00
let tmp3 = key10007;
2026-07-20 16:05:17 +00:00
let hasOwnProperty = {}.hasOwnProperty;
2026-07-29 08:29:29 +00:00
let call = hasOwnProperty.call;
if (typeof call === "unknown") {
let hasOwnPropertyResult = hasOwnProperty(key10007);
} else {
hasOwnPropertyResult = call(arg0, key10007);
}
if (!hasOwnPropertyResult) {
2026-07-20 16:05:17 +00:00
continue;
} else {
if (-1 !== arg1.indexOf(key10007)) {
continue;
} else {
obj[key10007] = arg0[key10007];
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
continue;
}
continue;
}
return obj;
}
};