blob: 032d96cade02d7d1bf726bb3c0f9f49d13daffb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
export default function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
}
return target;
}
|