@rwaldron: any thoughts on telling the minifier that DBG is a constant that doesn't change? It sounded like DBG=Object.freeze(DBG) might do it, but it didn't seem to work in the closure compiler.
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.
@rwaldron: any thoughts on telling the minifier that
DBG
is a constant that doesn't change? It sounded likeDBG=Object.freeze(DBG)
might do it, but it didn't seem to work in the closure compiler.