I was under the impression that the history gets flushed as needed to make room for other stuff...?
But yes, you can end up with multiple copies of anonymous functions like that, add I understand it - I always have them just call another function if they're not really short, which I think mashes the code nite readable anyway.
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.
I was under the impression that the history gets flushed as needed to make room for other stuff...?
But yes, you can end up with multiple copies of anonymous functions like that, add I understand it - I always have them just call another function if they're not really short, which I think mashes the code nite readable anyway.