It's an odd one actually - I updated Esprima pretty recently and the vast majority of lambda issues disappeared - I thought it had been sorted but there are obviously some bugs left.
I haven't yet shipped terser in the IDE as it until @opichals recent commits it wouldn't have worked in the standalone version -so for now you're basically left with Closure.
But again, for what you're doing minification really isn't saving you much effort, and it messes up any stack traces you might get from errors.
© Espruino, powered by microcosm.
Report a problem