1var array = []
2array[0] = "hi"
3array[1] = "dude"
4var done = false
5while (done == false){
6var valueToFind = "hi";
7 var rounds = array.length;
8 if (rounds < 0){
9 return false
10 }
11 if (array[rounds] == valueToFind){
12 done = true
13 return rounds
14 }
15 rounds = rounds - 1
16}