js for index of list 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