MCQ
Which method removes the last element from an array?
JavaScript
A push()
B pop()
C shift()
D slice()
Explanation

pop() removes and returns the last element of an array.