Q. Which method removes the last array element?

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

The pop() method removes and returns the last 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!