Ok, thanks - I'll take a look at this. I'm surprised it hasn't come up before.
It could just be a memory copy issue (since we're copying overlapping memory areas, if you copy in the wrong direction it can overwrite with the same data each time)
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.
Ok, thanks - I'll take a look at this. I'm surprised it hasn't come up before.
It could just be a memory copy issue (since we're copying overlapping memory areas, if you copy in the wrong direction it can overwrite with the same data each time)