js char pos code example
Example 1: js indexof string
str.indexOf(searchValue[, fromIndex])
Example 2: .index of javascript
let monTableau = ['un', 'deux','trois', 'quatre'] ;
console.log(monTableau.indexOf('trois')) ;
str.indexOf(searchValue[, fromIndex])
let monTableau = ['un', 'deux','trois', 'quatre'] ;
console.log(monTableau.indexOf('trois')) ;