Answers for "how to find index of array javascript"

1

get index of item array

const array = ['a', 'b', 'c']
array.indexOf('a')
 > 0
Posted by: Guest on November-02-2021
7

js get index of item in array

array.indexOf("item");
Posted by: Guest on May-13-2020

Code answers related to "how to find index of array javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language