[Title]

1 min read Original article ↗

You can view your own variables by calling:

monitor('name',value);

If you need persistent state, you can use global variables. You will have to declare them outside your function with the 'var' keyword.

Your code for each level is saved in your browser.