Computer Science, asked by jyotisethi514, 7 months ago

Some library functions in javascript include indexof() , _____, search () is NaN​

Answers

Answered by Anonymous
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
Math, 7 months ago