https://www.khanacademy.org/computing/computer-science/algorithms/binary-search/p/challenge-binary-search
I was following the pseudo code to implement algorithm on t
you only have to uncomment the Program.assertEqual like this :
Program.assertEqual(doSearch(primes, 73), 20);
not like this :
//Program.assertEqual(doSearch(primes, 73), 20);