Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Strings
The indexOf() Method
The indexOf() method accepts a second parameter as the starting position for the search: