Add tag checks back to baseIsEqualDeep.

This commit is contained in:
John-David Dalton
2015-09-11 18:02:49 -07:00
parent 6edde288ee
commit 875dfec570

View File

@@ -2268,7 +2268,7 @@
objTag = isMap(object) ? mapTag : (isSet(object) ? setTag : objTag);
} else if (objTag == argsTag) {
objTag = objectTag;
} else {
} else if (objTag != objectTag) {
objIsArr = isTypedArray(object);
}
}
@@ -2278,7 +2278,7 @@
othTag = isMap(other) ? mapTag : (isSet(other) ? setTag : othTag);
} else if (othTag == argsTag) {
othTag = objectTag;
} else {
} else if (othTag != objectTag) {
othIsArr = isTypedArray(other);
}
}