Consider the following expression
console.log( 'result: ' + parseInt("1", 0) )
It returns 1 in the console of chrome (basically returns the decimal value).
The MDN docs for parseInt says
Or NaN when the radix is smaller than 2 or bigger than 36 ...
It would be great if someone could give an explanation for this.
Thanks in advance.