Sha256: 36262e78183e13815148b0cae9e94756fea8ccc29f04e166842802819d6ae29b
Contents?: true
Size: 505 Bytes
Versions: 49
Compression:
Stored size: 505 Bytes
Contents
import { root } from './root'; export function assignImpl(target, ...sources) { const len = sources.length; for (let i = 0; i < len; i++) { const source = sources[i]; for (let k in source) { if (source.hasOwnProperty(k)) { target[k] = source[k]; } } } return target; } ; export function getAssign(root) { return root.Object.assign || assignImpl; } export const assign = getAssign(root); //# sourceMappingURL=assign.js.map
Version data entries
49 entries across 49 versions & 4 rubygems