Remove unneeded copyArray from baseMergeDeep.

This commit is contained in:
John-David Dalton
2016-02-11 23:23:29 -08:00
parent a3676618af
commit 40ff04911e

View File

@@ -3074,7 +3074,7 @@
newValue = srcValue;
if (isArray(srcValue) || isTypedArray(srcValue)) {
if (isArray(objValue)) {
newValue = srcIndex ? copyArray(objValue) : objValue;
newValue = objValue;
}
else if (isArrayLikeObject(objValue)) {
newValue = copyArray(objValue);