Q. Which method adds an element to an array’s end?

A
push()
B
pop()
C
shift()
D
unshift()
Solution:

The push() method adds one or more elements to the end of an array.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!