mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27: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) {
|
if (!objIsArr) {
|
||||||
objTag = objToString.call(object);
|
objTag = objToString.call(object);
|
||||||
if (typeof object.length == 'number') {
|
if (isLength(object.length)) {
|
||||||
if (isArguments(object)) {
|
if (isArguments(object)) {
|
||||||
object = arrayToObject(object);
|
object = arrayToObject(object);
|
||||||
objTag = objectTag;
|
objTag = objectTag;
|
||||||
@@ -2313,7 +2313,7 @@
|
|||||||
}
|
}
|
||||||
if (!othIsArr) {
|
if (!othIsArr) {
|
||||||
othTag = objToString.call(other);
|
othTag = objToString.call(other);
|
||||||
if (typeof other.length == 'number') {
|
if (isLength(other.length)) {
|
||||||
if (isArguments(other)) {
|
if (isArguments(other)) {
|
||||||
other = arrayToObject(other);
|
other = arrayToObject(other);
|
||||||
othTag = objectTag;
|
othTag = objectTag;
|
||||||
|
|||||||
Reference in New Issue
Block a user