Javascript Challenges - return the index of a number within a given array