168,430 views
43 votes
43 votes
For array data that should be treated as a queue, the _____ method is used, which is similar to the pop() method except that it removes the first array item and not the last.

User Dtsg
by
2.3k points

1 Answer

21 votes
21 votes

Answer:

shift()

Step-by-step explanation:

User VoidKing
by
3.0k points