I did actually try that part specifically and when I tried to make it break. It simply added NaN to the end of the string. "test" + 2 - 1 => "test2NaN". But of course I never tried returning something long from my modified safeGetTime. I'm such a bad tester :(
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.
I did actually try that part specifically and when I tried to make it break. It simply added NaN to the end of the string.
"test" + 2 - 1
=>"test2NaN"
. But of course I never tried returning something long from my modifiedsafeGetTime
. I'm such a bad tester :(