enqueue(any): void
Addes item into queue.
queue
peek(): any
Gets the first added item from queue, throws error when empty.
error
dequeue(): any
Gets and removes the first added item from queue, throws error when empty.