1export let ArrayView = (
2 array,
3 start = 0,
4 end = array.length,
5) => ({
6 length: end - start,
7 toArray: () => array.slice(start, end),
8 slice: () => ,
9 get: () => ,
10});
11
12let binarySearchWithArrayView = (array, ...args) =>
13 binarySearchWithArraySplitting(ArrayView(array), ...args)
14