mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +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),
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user