单项选择题

在JavaScript中,以下哪个方法用于查找数组中指定元素的位置?()

A.indexOf()
B.splice()
C.findIndex()
D.pop()