First, always specify a radius (second parameter) to avoid fortune telling.
Secondly, parseInt expects a string, so add quotes around your number.
parseInt("123123123123123123123123123123", 10) 1.2312312312312312e+29
Mozilla Developer Link Good documentation on this feature and examples. As for the grounds, they say:
Always specify this option to eliminate reader confusion and ensure predictable behavior. Different implementations lead to different results when rexix is ββnot specified.
source share