Home »
MCQs »
KnockoutJS MCQs
Which of the following method returns the index of the first occurrence of the specified argument?
30. Which of the following method returns the index of the first occurrence of the specified argument?
- Index()
- First()
- Element()
- IndexOf()
Answer: D) IndexOf()
Explanation:
IndexOf method returns the index of the first occurrence of the specified argument.