#javascript #JavaScript / Object / Array.indexOf(), Array.lastIndexOf() - methods that return the position (index) of the matching element .indexOf() .indexOf() is a method that returns the index of the element that matches the given value. Grammar array. indexOf( value, start ) value: Enter the value to search for. start : The index value to start searching. Optional, if omitted the value is 0...