Sha256: 50cd6beaffb57c0fefb5961e21f490c331efa7b919cfca84e7df82a7955907fc
Contents?: true
Size: 484 Bytes
Versions: 87
Compression:
Stored size: 484 Bytes
Contents
'use strict'; function ToObject(val) { if (val == null) { throw new TypeError('Object.assign cannot be called with null or undefined'); } return Object(val); } module.exports = Object.assign || function (target, source) { var from; var keys; var to = ToObject(target); for (var s = 1; s < arguments.length; s++) { from = arguments[s]; keys = Object.keys(Object(from)); for (var i = 0; i < keys.length; i++) { to[keys[i]] = from[keys[i]]; } } return to; };
Version data entries
87 entries across 74 versions & 4 rubygems