From 00a8130201f769a6f1c3b86ca43a59af1d878ff4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 15 Jan 2015 21:58:57 -0800 Subject: [PATCH] Fix typo in `baseMergeDeep`. --- lodash.src.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.src.js b/lodash.src.js index a24a90e3d..dcc331d84 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -2521,7 +2521,7 @@ if (isCommon) { result = srcValue; - if (isLength(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) { + if (isLength(srcValue.length) && (isArray(srcValue) || isTypedArray(srcValue))) { result = isArray(value) ? value : []; } else if (isPlainObject(srcValue)) { result = isPlainObject(value) ? value : {};