Description:
This method returns the element from the top of the stack without removing it from the stack.
Example
Stack stack = new Stack();
stack.push("s");
stack.push("t");
stack.push("a");
stack.push("c");
stack.push("k");
Logger.log("top element on the stack: " + stack.peek());
The example above returns the element from the top of the stack.