The standard reset procedure involves just calling reset() - so if you had set global.reset=a_number for some reason this is exactly the error you'd get. For example:
>global.reset=1;
=1
>reset()
Uncaught Error: Expecting a function to call, got Number
at line 1 col 1
reset()
^
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The standard reset procedure involves just calling
reset()
- so if you had setglobal.reset=a_number
for some reason this is exactly the error you'd get. For example: