check indexof html c# code example
Example 1: indexof javascript
Array.indexOf(searchElement, fromIndex)
Example 2: .index of javascript
let monTableau = ['un', 'deux','trois', 'quatre'] ;
console.log(monTableau.indexOf('trois')) ;
Array.indexOf(searchElement, fromIndex)
let monTableau = ['un', 'deux','trois', 'quatre'] ;
console.log(monTableau.indexOf('trois')) ;