From 875dfec5705225289f41ff7a64d44a4ef9d194f3 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 11 Sep 2015 18:02:49 -0700 Subject: [PATCH] Add tag checks back to `baseIsEqualDeep`. --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index c56803d78..87296ce38 100644 --- a/lodash.js +++ b/lodash.js @@ -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); } }