mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Strict equal nit in _.uniq.
This commit is contained in:
@@ -5302,7 +5302,7 @@
|
|||||||
if (!length) {
|
if (!length) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return (isSorted && typeof isSorted == 'boolean' && getIndexOf() == baseIndexOf)
|
return (isSorted && typeof isSorted == 'boolean' && getIndexOf() === baseIndexOf)
|
||||||
? sortedUniq(array)
|
? sortedUniq(array)
|
||||||
: baseUniq(array);
|
: baseUniq(array);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user