indexof in js mdn code example
Example: indexof js mdn
array.indexOf(searchElement, [initialPoint = 0])
// the indexOf() always returns the first index that the element can be found, else it returns -1
array.indexOf(searchElement, [initialPoint = 0])
// the indexOf() always returns the first index that the element can be found, else it returns -1