If it's getting a reboot it's likely there is a bug in the JIT interpreter. Which Bangle.js firmware are you on?
If you're able to isolate the code that causes the crash down to something reasonably small then I could take a look and see if I can get it fixed
@Gordon 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.
If it's getting a reboot it's likely there is a bug in the JIT interpreter. Which Bangle.js firmware are you on?
If you're able to isolate the code that causes the crash down to something reasonably small then I could take a look and see if I can get it fixed