Hi, reset is a reserved function name. Try a different argument name like this
E.showPrompt("Reset the score\nto 0-0?").then( (res) => { if (res) { this.game.resetScore(); } this.activateGameButtons(); });
@Raik 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,
reset is a reserved function name. Try a different argument name like this