dev
Quizzes
Quizzes
Leaderboard
Submit a question
Add
JavaScript quiz
· 53 questions
Shift method
All questions
Pick one answer
What does the shift() method do?
1
–
2
answer
←
previous
Question
45
of 53
83%
A
Removes the first array element
B
Adds a new element to an array at the beginning
←
Previous
Next question
→