From fa4d85897cc3b1c88ff983a0e1eace4bc2c17cd3 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 1 Feb 2016 22:52:45 -0800 Subject: [PATCH] Add mutation notes to `_.mergeWith`, `_.set`, `_.setWith`, and `_.unset`. [ci skip] --- lodash.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lodash.js b/lodash.js index e13a162d2..c44b0b0e1 100644 --- a/lodash.js +++ b/lodash.js @@ -11306,6 +11306,8 @@ * method instead. The `customizer` is invoked with seven arguments: * (objValue, srcValue, key, object, source, stack). * + * **Note:** This method mutates `object`. + * * @static * @memberOf _ * @category Object @@ -11479,6 +11481,8 @@ * are created for all other missing properties. Use `_.setWith` to customize * `path` creation. * + * **Note:** This method mutates `object`. + * * @static * @memberOf _ * @category Object @@ -11508,6 +11512,8 @@ * path creation is handled by the method instead. The `customizer` is invoked * with three arguments: (nsValue, key, nsObject). * + * **Note:** This method mutates `object`. + * * @static * @memberOf _ * @category Object @@ -11627,6 +11633,8 @@ /** * Removes the property at `path` of `object`. * + * **Note:** This method mutates `object`. + * * @static * @memberOf _ * @category Object