 
      
      stack::pop()
	Retrieve and remove the top of the Stack, or return nothing if the Stack is empty	
	
stack::pop()There are no parameters.
any — Returns the top of the Stack, or return nothing if the Stack is empty
import adt/stack
 
stack = stack()
 
stack.push(10)
stack.push(12)
stack.push(8)
 
writeln(stack.pop())   ' Output: 8
writeln(stack.pop())   ' Output: 12
writeln(stack.pop())   ' Output: 10
writeln(stack.pop())   ' Output: nothing