Print the stack in reverse order
var answer = " " ; while ( Stack . length > 0 ) { answer = String . fromCharCode ( Stack [ Stack . length - 1 ] ) + answer ; Stack . pop ( ) ; } document . write ( answer ) }