['a','b','c'].indexof('b') == 1 // found - return index ['a','b','c'].indexof('w') == 3 // not found - return size of array