Skip to content

Commit fdeda72

Browse files
committed
Code Refacoring
1 parent b4648f7 commit fdeda72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Search/BinarySearch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function binarySearchIterative (arr, x, low = 0, high = arr.length - 1) {
4646
}
4747
}
4848
// if low > high => we have searched the whole array without finding the item
49-
return -1
49+
return -1
5050
}
5151

5252
/* ---------------------------------- Test ---------------------------------- */

0 commit comments

Comments
 (0)