decord/source/5143__objectWithoutPropertiesLoose.js
2026-07-21 06:55:02 +00:00

31 lines
694 B
JavaScript

// Module ID: 5143
// Function ID: 43615
// Name: _objectWithoutPropertiesLoose
// Dependencies: []
// Module 5143 (_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;
}
};