Some library functions in javascript include indexof() , _____, search () is NaN
Answers
Answered by
2
Answer:
Definition and Usage
The indexOf() method returns the position of the first occurrence of a specified value in a string.
This method returns -1 if the value to search for never occurs.
Note: The indexOf() method is case sensitive.
Tip: Also look at the lastIndexOf() method.
Explanation:
Similar questions