Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Arrays
The indexOf() Method
indexOf() returns the position of a specified value in an array: