You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PUTGET in JS interpreter first pops x, then y. John's and Milo's interpreters pop y first.
Looking at the code one might think that John's interpreter pops x first, but because of this bug it's the other way around.
The following program prints A in John's and Milo's interpreters, but JS interpreter prints Z instead.
xA x
Zx xx
x x x
x x x
x x x
x x x
x x x x
x x x xx
x x x x
x xx x
x x x
x x
x x
x x
x xx
xx
PUTGET in JS interpreter first pops x, then y. John's and Milo's interpreters pop y first.
Looking at the code one might think that John's interpreter pops x first, but because of this bug it's the other way around.
The following program prints A in John's and Milo's interpreters, but JS interpreter prints Z instead.
Try John's online.
Try Milo's online.
Try Chris's online.
The text was updated successfully, but these errors were encountered: