This is a very cool app. how did you implement the `steps`. i meant how exactly the state is saved for the entire program?
Thanks. To implement the steps I take the Javascript source code, then I use Esprima to parse the code and insert Javascript lines to trace the variable values: