Add mutation notes to _.mergeWith, _.set, _.setWith, and _.unset. [ci skip]

This commit is contained in:
John-David Dalton
2016-02-01 22:52:45 -08:00
parent 983363e0cd
commit fa4d85897c

View File

@@ -11306,6 +11306,8 @@
* method instead. The `customizer` is invoked with seven arguments: * method instead. The `customizer` is invoked with seven arguments:
* (objValue, srcValue, key, object, source, stack). * (objValue, srcValue, key, object, source, stack).
* *
* **Note:** This method mutates `object`.
*
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
@@ -11479,6 +11481,8 @@
* are created for all other missing properties. Use `_.setWith` to customize * are created for all other missing properties. Use `_.setWith` to customize
* `path` creation. * `path` creation.
* *
* **Note:** This method mutates `object`.
*
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
@@ -11508,6 +11512,8 @@
* path creation is handled by the method instead. The `customizer` is invoked * path creation is handled by the method instead. The `customizer` is invoked
* with three arguments: (nsValue, key, nsObject). * with three arguments: (nsValue, key, nsObject).
* *
* **Note:** This method mutates `object`.
*
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object
@@ -11627,6 +11633,8 @@
/** /**
* Removes the property at `path` of `object`. * Removes the property at `path` of `object`.
* *
* **Note:** This method mutates `object`.
*
* @static * @static
* @memberOf _ * @memberOf _
* @category Object * @category Object