decord/source/__helpers/05xxx/5870__objectWithoutPropertiesLoose.js
2026-09-03 10:05:34 +00:00

37 lines
890 B
JavaScript

// Module ID: 5870
// Function ID: 5871
// Name: _objectWithoutPropertiesLoose
// Dependencies: []
// Module 5870 (_objectWithoutPropertiesLoose)
export default function _objectWithoutPropertiesLoose(obj, arr) {
if (null == obj) {
return {};
} else {
obj = {};
for (const key10007 in arg0) {
let tmp3 = key10007;
let hasOwnProperty = {}.hasOwnProperty;
let call = hasOwnProperty.call;
if (typeof call === "unknown") {
let hasOwnPropertyResult = hasOwnProperty(key10007);
} else {
hasOwnPropertyResult = call(arg0, key10007);
}
if (!hasOwnPropertyResult) {
continue;
} else {
if (-1 !== arg1.indexOf(key10007)) {
continue;
} else {
obj[key10007] = arg0[key10007];
continue;
}
continue;
}
continue;
}
return obj;
}
};