@AkosLukacs, very well done! slice indeed seems to be the problem here: it seems to copy characters rather than doing some pointer arithmetics only (which I would have assumed as JavaScript strings are immutable)
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.
@AkosLukacs, very well done!
slice
indeed seems to be the problem here: it seems to copy characters rather than doing some pointer arithmetics only (which I would have assumed as JavaScript strings are immutable)Thanks for your info!