Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get index of item array

const array = ['a', 'b', 'c']
array.indexOf('a')
 > 0
 
PREVIOUS NEXT
Tagged: #index #item #array
ADD COMMENT
Topic
Name
2+9 =