Writing a module is probably the easiest - however if you save a function to a file in Storage you can just do eval(require("Storage").read("myfunction")) and that'll work too
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.
Writing a module is probably the easiest - however if you save a function to a file in Storage you can just do
eval(require("Storage").read("myfunction"))
and that'll work too