Sha256: ad1dc3245f3ec3acf532cb6f8fb1179c103f1c477620bfc52b8b7618010a5116
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 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 ? 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
2 entries across 2 versions & 1 rubygems