decord/source/5366__objectWithoutPropertiesLoose.js
2026-07-24 07:16:23 +00:00

31 lines
692 B
JavaScript

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