.pop() method removes the element at the front of the queue. This will be the oldest element in the queue or the element which was added the earliest.
.pop() method is called on a queue using the following syntax:
The codebyte example below shows
.pop() being used on the
- garanews209 total contributions
- KyraThompson67 total contributions