Q. Which method removes the first array element?

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

The shift() method removes the first element 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!