printStack (Utility)
Prints stack state to the console. Stack state will not be changed. This function can be used for debugging purposes.
Arguments
None
Return values
None
Example
Output:
1
2
Prints stack state to the console. Stack state will not be changed. This function can be used for debugging purposes.
None
None