From 3846348f8a4682559a61c232eb5946078cc27a48 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 15 Feb 2016 10:22:25 -0800 Subject: [PATCH] Clarify how `undefined` source values are handled in `_.merge`. [ci skip] --- lodash.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lodash.js b/lodash.js index a28d15a61..3e82ce668 100644 --- a/lodash.js +++ b/lodash.js @@ -11571,12 +11571,12 @@ } /** - * Recursively merges own and inherited enumerable properties of source - * objects into the destination object, skipping source properties that resolve - * to `undefined`. 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. + * 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`. *