All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.lodash._baseAssign.js Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
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;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy