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