Multiple ChoiceBeginner 30s
Array shift/unshift
Choose the best answer for: queue operations
Options
- 1unshift removes an element from the front of the array
- 2shift adds an element to the end and returns it
- 3shift and pop both remove and return the last element
- 4unshift adds to front, shift removes from front
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.