MCPcopy Create free account
hub / github.com/RubyLouvre/anu / baseAssign

Function baseAssign

test/babel.js:50993–50995  ·  view source on GitHub ↗

* The base implementation of `_.assign` without support for multiple sources * or `customizer` functions. * * @private * @param {Object} object The destination object. * @param {Object} source The source object. * @returns {Object} Returns `object`.

(object, source)

Source from the content-addressed store, hash-verified

50991 * @returns {Object} Returns `object`.
50992 */
50993 function baseAssign(object, source) {
50994 return object && copyObject(source, keys(source), object);
50995 }
50996
50997 module.exports = baseAssign;
50998

Callers 1

baseCloneFunction · 0.85

Calls 2

copyObjectFunction · 0.85
keysFunction · 0.85

Tested by

no test coverage detected