Searching for element's index number in Array
While learning Arrays today, I needed a search function which could find any element in an Array and return its index number.
BTW, to create this very long Array I used JavaScript too.
Check out the result function with a very long Array here, or below by clicking “Result”: