Sha256: 9c369b4577212052ee1721e64bf525c75cfc673af5267431cdd16fea905d9a30
Contents?: true
Size: 548 Bytes
Versions: 9
Compression:
Stored size: 548 Bytes
Contents
var _indexOfInstanceProperty = require("../core-js/instance/index-of"); var _Object$keys = require("../core-js/object/keys"); 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 (_indexOfInstanceProperty(excluded).call(excluded, key) >= 0) continue; target[key] = source[key]; } return target; } module.exports = _objectWithoutPropertiesLoose;
Version data entries
9 entries across 9 versions & 1 rubygems