Icard/angular-clarity-master(work.../node_modules/lodash-es/_baseAssign.js

18 lines
468 B
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import copyObject from './_copyObject.js';
import keys from './keys.js';
/**
* 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);
}
export default baseAssign;