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

shift() removes and returns the first element of an array.