mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Bump to v4.7.0.
This commit is contained in:
13
merge.js
13
merge.js
@@ -2,17 +2,18 @@ define(['./_baseMerge', './_createAssigner'], function(baseMerge, createAssigner
|
||||
|
||||
/**
|
||||
* This method is like `_.assign` except that it recursively merges own and
|
||||
* inherited enumerable properties of source objects into the destination
|
||||
* object. Source properties that resolve to `undefined` are skipped if a
|
||||
* destination value exists. Array and plain object properties are merged
|
||||
* recursively.Other objects and value types are overridden by assignment.
|
||||
* Source objects are applied from left to right. Subsequent sources
|
||||
* overwrite property assignments of previous sources.
|
||||
* inherited enumerable string keyed properties of source objects into the
|
||||
* destination object. Source properties that resolve to `undefined` are
|
||||
* skipped if a destination value exists. Array and plain object properties
|
||||
* are merged recursively.Other objects and value types are overridden by
|
||||
* assignment. Source objects are applied from left to right. Subsequent
|
||||
* sources overwrite property assignments of previous sources.
|
||||
*
|
||||
* **Note:** This method mutates `object`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.5.0
|
||||
* @category Object
|
||||
* @param {Object} object The destination object.
|
||||
* @param {...Object} [sources] The source objects.
|
||||
|
||||
Reference in New Issue
Block a user