Sha256: fa88c5e7fb0554fda595e29a836e3bfdd15cfc456a806c26a822ad3a633f04af
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
import _forEachInstanceProperty from "../../core-js/instance/for-each"; import _Object$getOwnPropertyDescriptor from "../../core-js/object/get-own-property-descriptor"; import _filterInstanceProperty from "../../core-js/instance/filter"; import _concatInstanceProperty from "../../core-js/instance/concat"; import _Object$getOwnPropertySymbols from "../../core-js/object/get-own-property-symbols"; import _Object$keys from "../../core-js/object/keys"; import defineProperty from "./defineProperty"; export default function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = _Object$keys(source); if (typeof _Object$getOwnPropertySymbols === 'function') { var _context; ownKeys = _concatInstanceProperty(ownKeys).call(ownKeys, _filterInstanceProperty(_context = _Object$getOwnPropertySymbols(source)).call(_context, function (sym) { return _Object$getOwnPropertyDescriptor(source, sym).enumerable; })); } _forEachInstanceProperty(ownKeys).call(ownKeys, function (key) { defineProperty(target, key, source[key]); }); } return target; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
condenser-0.3 | lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js |