Simplify baseIsEqualDeep now that getSymbols returns only enumerable symbols.

This commit is contained in:
John-David Dalton
2016-11-23 12:13:23 -06:00
parent 1dddf27a39
commit 783e03ffa3

View File

@@ -3307,14 +3307,9 @@
objTag = objIsArr ? arrayTag : getTag(object),
othTag = othIsArr ? arrayTag : getTag(other);
if (objTag == argsTag) {
objTag = objectTag;
object = copyObject(object, keys(object));
}
if (othTag == argsTag) {
othTag = objectTag;
other = copyObject(other, keys(other));
}
objTag = objTag == argsTag ? objectTag : objTag;
othTag = othTag == argsTag ? objectTag : othTag;
var objIsObj = objTag == objectTag,
othIsObj = othTag == objectTag,
isSameTag = objTag == othTag;