Which board are you using?
The code save area does not get overwritten when you flash the firmware, so the previous saved code would still be intact.
Sorry, I'm not familiar with the Mongoose OS's init.js
@Wilberforce started
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.
Which board are you using?
The code save area does not get overwritten when you flash the firmware, so the previous saved code would still be intact.
Sorry, I'm not familiar with the Mongoose OS's init.js