- Takes two parameters: an element and an array of elements
- Returns the position of the element inside the array. If the element is not in the array, returns -1.
Wish you luck!
You can see the solution here.