mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove fork in baseUniq that is never reached and increase test coverage.
This commit is contained in:
9
dist/lodash.compat.js
vendored
9
dist/lodash.compat.js
vendored
@@ -1581,13 +1581,8 @@
|
||||
|
||||
if (isLarge) {
|
||||
var cache = createCache(seen);
|
||||
if (cache) {
|
||||
indexOf = cacheIndexOf;
|
||||
seen = cache;
|
||||
} else {
|
||||
isLarge = false;
|
||||
seen = callback ? seen : (releaseArray(seen), result);
|
||||
}
|
||||
indexOf = cacheIndexOf;
|
||||
seen = cache;
|
||||
}
|
||||
while (++index < length) {
|
||||
var value = array[index],
|
||||
|
||||
Reference in New Issue
Block a user