Stack Class
A push-pop stack.
Constructor
Stack
()
Void
Returns:
Void:
Methods
clearStack
()
Void
Clears the push-pop stack.
Returns:
Void:
pop
()
Mixed
Fetches the most recently added item from the top of the stack.
Returns:
Mixed:
push
()
Void
Stores the item on the top of the stack.
Returns:
Void:
Properties
stack
Array
The stack itself.