Thanks! I'd probably avoid the Time class for now though - right now it seems it doesn't really provide any utility, and instantiating it rather than just an object with two fields ends up being a bit slower and using more memory.
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.
Thanks! I'd probably avoid the
Time
class for now though - right now it seems it doesn't really provide any utility, and instantiating it rather than just an object with two fields ends up being a bit slower and using more memory.