• Interesting, thanks - I'll file a bug for it. The issue is that a.query is null sometimes (if there is no query?), and "led" in null is returning "led" for some reason in espruino.

    Try:

    if (a.query && "led" in a.query) digitalWrite(LED1, a.query["led"]);
    
About

Avatar for Gordon @Gordon started