1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoos...

16 lines
384 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = Object.keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
module.exports = _objectWithoutPropertiesLoose;