Sha256: fbcb2e655e91159f4fa6dfd64df9cb0a49c1714c374417b67d45691e7df48ac8
Contents?: true
Size: 631 Bytes
Versions: 30
Compression:
Stored size: 631 Bytes
Contents
var defineProperty = require("./defineProperty"); 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; } module.exports = _objectSpread;
Version data entries
30 entries across 30 versions & 5 rubygems