That's a great idea! Yes, a PR for that would be great.
In terms of flash memory, what's covered here would actually sort that out in a more general kind of way, so I think we should do that first.
I guess another cool option would be to allow a function to be specified. It would then be called and whatever it returned would be used.
@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.
That's a great idea! Yes, a PR for that would be great.
In terms of flash memory, what's covered here would actually sort that out in a more general kind of way, so I think we should do that first.
I guess another cool option would be to allow a function to be specified. It would then be called and whatever it returned would be used.