Class Queue
Constructors
constructor
-
Properties
Private queue
Methods
dequeue
-
Returns any
enqueue
- enqueue(value: any): Queue
-
Parameters
isEmpty
-
Returns boolean
peak
-
Returns any
toString
- toString(callback?: function): string
-
Parameters
-
Optional callback: function
-
-
Parameters
Returns string
Returns string
Queue data structure