Stringifier
StackStringifier stringifies instances of type Stack.
public function execute(target):String
Returns the string representation of the passed-in target stack.
target must be an instance of type Stack.
The string representation is constructed as follows:
[lastlyAddedValue, penultimatelyAddedValue, ...]
target | the target stack to stringify |
the string representation of the passed-in target stack