Home »
MCQs »
KnockoutJS MCQs
Which of the following method is used to add a new item to the end of the array?
26. Which of the following method is used to add a new item to the end of the array?
- Add()
- Insert()
- Push()
- Add_end()
Answer: C) Push()
Explanation:
The push() method is used to add a new item to the end of the array.