Class Stack
Constructors
constructor
-
Properties
Private stack
Methods
isEmpty
-
Returns boolean
peak
-
Returns any
pop
-
Returns any
push
-
Parameters
toArray
-
Returns any[]
toString
- toString(callback?: function): string
-
Parameters
-
Optional callback: function
-
-
Parameters
Returns string
Returns string
Stack data structure