Q. Which method adds an element to an array’s end?
Solution:
The push() method adds one or more elements to the end of an array.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The push() method adds one or more elements to the end of an array.
Strengthen Your Practice with our comprehensive question bank.