javascript iindex of code example Example: indexof javascript Array.indexOf(searchElement, fromIndex)