What is the function of indexOf()??
Answers
Answered by
1
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.
Answered by
1
bear with this handwriting,hope u like this
Attachments:
Anonymous:
thnx
Similar questions