mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Add tag checks back to baseIsEqualDeep.
This commit is contained in:
@@ -2268,7 +2268,7 @@
|
|||||||
objTag = isMap(object) ? mapTag : (isSet(object) ? setTag : objTag);
|
objTag = isMap(object) ? mapTag : (isSet(object) ? setTag : objTag);
|
||||||
} else if (objTag == argsTag) {
|
} else if (objTag == argsTag) {
|
||||||
objTag = objectTag;
|
objTag = objectTag;
|
||||||
} else {
|
} else if (objTag != objectTag) {
|
||||||
objIsArr = isTypedArray(object);
|
objIsArr = isTypedArray(object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2278,7 +2278,7 @@
|
|||||||
othTag = isMap(other) ? mapTag : (isSet(other) ? setTag : othTag);
|
othTag = isMap(other) ? mapTag : (isSet(other) ? setTag : othTag);
|
||||||
} else if (othTag == argsTag) {
|
} else if (othTag == argsTag) {
|
||||||
othTag = objectTag;
|
othTag = objectTag;
|
||||||
} else {
|
} else if (othTag != objectTag) {
|
||||||
othIsArr = isTypedArray(other);
|
othIsArr = isTypedArray(other);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user