DEV Community

Discussion on: JavaScript Array methods

Collapse
 
shreyazz profile image
Shreyas Pahune

Yup that’s correct! But indexOf tells you precisely where the value is found…✅