Jak znaleźć indeks wartości w tablicy w JavaScript
var list = ["apple","banana","orange"]
var index_of_apple = list.indexOf("apple") // 0
Clumsy Crayfish
var list = ["apple","banana","orange"]
var index_of_apple = list.indexOf("apple") // 0