aswi2020vldc-gitlab/templetes/node_modules/babel-runtime/helpers/objectWithoutProperties.js @ 9b6ff40e
1 |
"use strict"; |
---|---|
2 |
|
3 |
exports.__esModule = true; |
4 |
|
5 |
exports.default = function (obj, keys) { |
6 |
var target = {}; |
7 |
|
8 |
for (var i in obj) { |
9 |
if (keys.indexOf(i) >= 0) continue; |
10 |
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; |
11 |
target[i] = obj[i]; |
12 |
}
|
13 |
|
14 |
return target; |
15 |
};
|