Q. Which method finds the index of an array element?
Solution:
indexOf() returns the first index of an element in an array.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
indexOf() returns the first index of an element in an array.
Strengthen Your Practice with our comprehensive question bank.