Sha256: 95d883d1d750f5180f604f4220ce9ad9c5e372336daec97e61fd148b7f150854
Contents?: true
Size: 512 Bytes
Versions: 9
Compression:
Stored size: 512 Bytes
Contents
import _indexOfInstanceProperty from "../../core-js/instance/index-of"; import _Object$keys from "../../core-js/object/keys"; export default 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; }
Version data entries
9 entries across 9 versions & 1 rubygems