Queue

enqueue(any): void

Addes item into queue.

peek(): any

Gets the first added item from queue, throws error when empty.

dequeue(): any

Gets and removes the first added item from queue, throws error when empty.

results matching ""

    No results matching ""