decord/source/5366__objectWithoutPropertiesLoose.js

32 lines
692 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 5366
2026-07-25 08:10:48 +00:00
// Function ID: 46021
2026-07-20 16:05:17 +00:00
// Name: _objectWithoutPropertiesLoose
// Dependencies: []
2026-07-23 10:11:24 +00:00
// Module 5366 (_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) {
let tmp2 = key10007;
let hasOwnProperty = {}.hasOwnProperty;
if (!hasOwnProperty.call(arg0, key10007)) {
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;
}
};