• Yes, there is - just ensure you have the "ram" keyword at the front of the function and Espruino will pretokenise it and remove whitespace. It won't exactly minify (renaming vars) because there is no minifier in Espruino, but it will really help.

    Either that or for the kind of code you have there in the interval you could even add "jit" to it to compile it to native code.

About

Avatar for Gordon @Gordon started