Sha256: 00cb0de701c69c002d93f5bc79126aed7387f4ddc0ac944b61b63d0e4d7c3254
Contents?: true
Size: 609 Bytes
Versions: 30
Compression:
Stored size: 609 Bytes
Contents
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') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { defineProperty(target, key, source[key]); }); } return target; }
Version data entries
30 entries across 30 versions & 5 rubygems