Not all of 64KB is usable for variables, more like 40KB, see output of process.memory() (each variable is 13 bytes for MDBT42Q). Uploading to ram is big waste of ram/variables, better upload to flash in this case. You can also enable pretokenization in WebIDE that should make it even smaller.
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.
Not all of 64KB is usable for variables, more like 40KB, see output of
process.memory()
(each variable is 13 bytes for MDBT42Q). Uploading to ram is big waste of ram/variables, better upload to flash in this case. You can also enable pretokenization in WebIDE that should make it even smaller.