mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Simplify baseIsEqualDeep now that getSymbols returns only enumerable symbols.
This commit is contained in:
11
lodash.js
11
lodash.js
@@ -3307,14 +3307,9 @@
|
|||||||
objTag = objIsArr ? arrayTag : getTag(object),
|
objTag = objIsArr ? arrayTag : getTag(object),
|
||||||
othTag = othIsArr ? arrayTag : getTag(other);
|
othTag = othIsArr ? arrayTag : getTag(other);
|
||||||
|
|
||||||
if (objTag == argsTag) {
|
objTag = objTag == argsTag ? objectTag : objTag;
|
||||||
objTag = objectTag;
|
othTag = othTag == argsTag ? objectTag : othTag;
|
||||||
object = copyObject(object, keys(object));
|
|
||||||
}
|
|
||||||
if (othTag == argsTag) {
|
|
||||||
othTag = objectTag;
|
|
||||||
other = copyObject(other, keys(other));
|
|
||||||
}
|
|
||||||
var objIsObj = objTag == objectTag,
|
var objIsObj = objTag == objectTag,
|
||||||
othIsObj = othTag == objectTag,
|
othIsObj = othTag == objectTag,
|
||||||
isSameTag = objTag == othTag;
|
isSameTag = objTag == othTag;
|
||||||
|
|||||||
Reference in New Issue
Block a user