Thanks for posting it up!
You might find you can add:
if (n!="onInit" && n!="reset") delete global[n];
To remove most of the other things that might have got defined before?
© Espruino, powered by microcosm.
Report a problem