mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Cleanup low and high assignment in _.sortedIndex. [ci skip]
This commit is contained in:
@@ -3025,8 +3025,8 @@
|
|||||||
while (low < high) {
|
while (low < high) {
|
||||||
var mid = (low + high) >>> 1;
|
var mid = (low + high) >>> 1;
|
||||||
(callback(array[mid]) < value)
|
(callback(array[mid]) < value)
|
||||||
? low = mid + 1
|
? (low = mid + 1)
|
||||||
: high = mid;
|
: (high = mid);
|
||||||
}
|
}
|
||||||
return low;
|
return low;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user