mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Use isLength in baseIsEqualDeep.
This commit is contained in:
committed by
jdalton
parent
14e9978359
commit
4011f054d6
@@ -2302,7 +2302,7 @@
|
||||
|
||||
if (!objIsArr) {
|
||||
objTag = objToString.call(object);
|
||||
if (typeof object.length == 'number') {
|
||||
if (isLength(object.length)) {
|
||||
if (isArguments(object)) {
|
||||
object = arrayToObject(object);
|
||||
objTag = objectTag;
|
||||
@@ -2313,7 +2313,7 @@
|
||||
}
|
||||
if (!othIsArr) {
|
||||
othTag = objToString.call(other);
|
||||
if (typeof other.length == 'number') {
|
||||
if (isLength(other.length)) {
|
||||
if (isArguments(other)) {
|
||||
other = arrayToObject(other);
|
||||
othTag = objectTag;
|
||||
|
||||
Reference in New Issue
Block a user