Using require("Storage").erase("test"); sounds absolutely fine. When you say 'doesn't work' what do you mean? It just doesn't appear to get rid of the file, or it gives you an error?
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.
Using
require("Storage").erase("test");
sounds absolutely fine. When you say 'doesn't work' what do you mean? It just doesn't appear to get rid of the file, or it gives you an error?Are you using firmware 2v05?