Hi Gordon,
The replace() function is missing. This code works on jconsole.com:
var str = "Play with Arduino"; var res = str.replace("Arduino","Espruino");
Sacha
@Sacha started
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.
Hi Gordon,
The replace() function is missing. This code works on jconsole.com:
var str = "Play with Arduino";
var res = str.replace("Arduino","Espruino");
Sacha