array.indexOf
returns index of element in array