push(any): void
Pushes any item into stack.
any
stack
peek(): any
Gets the last added item from stack, throws error when empty.
error
pop(): any
Gets and removes the last added item from stack, throws error when empty.