You're defining self as a global variable. I don't think you want to do that
@DrAzzy started
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.
You're defining self as a global variable. I don't think you want to do that