In my browser, default radix for parseInt is 10, in Espruino its 8 if there are leading zeros. parseInt("10") returns 10 parseInt("010") returns 8
@JumJum 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.
In my browser, default radix for parseInt is 10, in Espruino its 8 if there are leading zeros.
parseInt("10") returns 10
parseInt("010") returns 8