You shouldn't need to delete stuff if it was defined with let/const inside a {}.
let/const
{}
Are you sure it's not modules? see http://www.espruino.com/Bangle.js+Fast+Load#testing-afterwards
All I can suggest is to maybe look at Object.keys(global) and see if there's anything there that shouldn't be
Object.keys(global)
@Gordon 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.
You shouldn't need to delete stuff if it was defined with
let/const
inside a{}
.Are you sure it's not modules? see http://www.espruino.com/Bangle.js+Fast+Load#testing-afterwards
All I can suggest is to maybe look at
Object.keys(global)
and see if there's anything there that shouldn't be