The setInterval function doesn't need to be anonymous:
function doChime() { ... } let chime = setInterval(doChime, 60 * 1000);
The interval is in milliseconds, so the example is 1 minute intervals. See http://www.espruino.com/Reference#l__global_setInterval
@andrewg_oz 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.
The setInterval function doesn't need to be anonymous:
The interval is in milliseconds, so the example is 1 minute intervals. See http://www.espruino.com/Reference#l__global_setInterval