Glossary: Data Structures and Algorithms in JavaScript
Dequeue, enqueue
Also written: enqueue, dequeue
Enqueue adds an item at the back of a queue, and dequeue takes the item off the front.
Glossary: Data Structures and Algorithms in JavaScript
Also written: enqueue, dequeue
Enqueue adds an item at the back of a queue, and dequeue takes the item off the front.