Do you think you can give me a short example of what you're sending, what's happening, and what you expect to happen?
Usually when you send code to Espruino (for instance via the Web IDE) it is executed as it is uploaded. If you don't want it to execute then you put the code inside a function, and then you call that function when you need the code executed.
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.
Do you think you can give me a short example of what you're sending, what's happening, and what you expect to happen?
Usually when you send code to Espruino (for instance via the Web IDE) it is executed as it is uploaded. If you don't want it to execute then you put the code inside a function, and then you call that function when you need the code executed.