Maybe you can put your code in order for us to reproduce the problem.
@fdufnews 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.
Maybe you can put your code in order for us to reproduce the problem.