main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
647 bytes
|
Line | |
---|
1 | var _Object$keys = require("core-js-pure/features/object/keys.js");
|
---|
2 | var _indexOfInstanceProperty = require("core-js-pure/features/instance/index-of.js");
|
---|
3 | function _objectWithoutPropertiesLoose(source, excluded) {
|
---|
4 | if (source == null) return {};
|
---|
5 | var target = {};
|
---|
6 | var sourceKeys = _Object$keys(source);
|
---|
7 | var key, i;
|
---|
8 | for (i = 0; i < sourceKeys.length; i++) {
|
---|
9 | key = sourceKeys[i];
|
---|
10 | if (_indexOfInstanceProperty(excluded).call(excluded, key) >= 0) continue;
|
---|
11 | target[key] = source[key];
|
---|
12 | }
|
---|
13 | return target;
|
---|
14 | }
|
---|
15 | module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.