Cleanup low and high assignment in _.sortedIndex. [ci skip]

This commit is contained in:
John-David Dalton
2014-02-21 23:42:40 -08:00
parent 6854fee73e
commit 154e57748f

View File

@@ -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;
} }