I like the ClearCmdHistory one. How much memory can this give back.
I'm afraid that should be of no use at all. If Espruino starts to run out of memory it will automatically remove the command history one item at a time.... So it's unlikely that clearing it yourself will let something run that wouldn't have run otherwise.
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'm afraid that should be of no use at all. If Espruino starts to run out of memory it will automatically remove the command history one item at a time.... So it's unlikely that clearing it yourself will let something run that wouldn't have run otherwise.
... and if it does, that could well be a bug :)