in JavaScript by
Q:
Which built-in method returns the index within the calling String object of the first occurrence of the specified value?

▼ Show 1 Answer

0 votes
by

indexOf() method returns the index within the calling String object of the first occurrence of the specified value, or −1 if not found.

JavaScript
Learn More with Madanswer

Related questions

0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
...