1
0
mirror of https://github.com/titanscouting/tra-analysis.git synced 2025-01-18 19:05:56 +00:00
tra-analysis/website/node_modules/lodash/_baseAssign.js
2019-01-06 13:14:45 -06:00

18 lines
470 B
JavaScript

var copyObject = require('./_copyObject'),
keys = require('./keys');
/**
* 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`.
*/
function baseAssign(object, source) {
return object && copyObject(source, keys(source), object);
}
module.exports = baseAssign;