MCQ
Which method is used to find the index of an element in an array?
Explanation
Both indexOf() and findIndex() can be used to find an element's index.