mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Fix typo in baseMergeDeep.
This commit is contained in:
committed by
jdalton
parent
74fc15cccd
commit
00a8130201
@@ -2521,7 +2521,7 @@
|
|||||||
|
|
||||||
if (isCommon) {
|
if (isCommon) {
|
||||||
result = srcValue;
|
result = srcValue;
|
||||||
if (isLength(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {
|
if (isLength(srcValue.length) && (isArray(srcValue) || isTypedArray(srcValue))) {
|
||||||
result = isArray(value) ? value : [];
|
result = isArray(value) ? value : [];
|
||||||
} else if (isPlainObject(srcValue)) {
|
} else if (isPlainObject(srcValue)) {
|
||||||
result = isPlainObject(value) ? value : {};
|
result = isPlainObject(value) ? value : {};
|
||||||
|
|||||||
Reference in New Issue
Block a user