Fix typo in baseMergeDeep.

This commit is contained in:
John-David Dalton
2015-01-15 21:58:57 -08:00
committed by jdalton
parent 74fc15cccd
commit 00a8130201

View File

@@ -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 : {};