mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Fix typo in baseMergeDeep.
This commit is contained in:
committed by
jdalton
parent
74fc15cccd
commit
00a8130201
@@ -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 : {};
|
||||
|
||||
Reference in New Issue
Block a user