Hi - i tried the code above on the linux version of espruino.
In the browser - I get an empty page, and only one line of output in the console:
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|_____|___| _|_| |___|_|_|_|___|
1v94.213 Copyright 2017 G.Williams
Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
n= 5 t: 0.001 sec
t 0.10073614120 l 0
[WS] "Hello to Espruino!"
How are you getting mutiple lines output?
© Espruino, powered by microcosm.
Report a problem