Pushes the given object onto the top of the specified stack object.
Syntax
push( stack , object )
stack.push( object )
Parameters
stack
|
the stack object to place the object onto.
|
object
|
the object to push onto the specified stack.
|
Returns
object
|
the object pushed onto the specified stack.
|
Example
obj = s.push( 21 )
print( obj )
|