mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Add doc note to associate _.merge with _.assign. [ci skip]
This commit is contained in:
13
lodash.js
13
lodash.js
@@ -11671,12 +11671,13 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* 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.
|
||||
*
|
||||
* **Note:** This method mutates `object`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user