I just tried the code exactly as you suggested, and it writes ....2....1 with a 1 second delay between them as expected. Perhaps you could explain exactly how the code is being used? Is it possible that when you tried it you didn't have the quotes?
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.
Yes, writing:
would work fine.
I just tried the code exactly as you suggested, and it writes
....2....1
with a 1 second delay between them as expected. Perhaps you could explain exactly how the code is being used? Is it possible that when you tried it you didn't have the quotes?