It seems that Firefox cuts the line after max_chars (which is different for each view base), while Chrome does not.
I did not find any link in MDN, but if you check (for example) the same for radix = 35:
Firefox: "0.4b5r4d4d4d4" Chrome: "0.4"
You can check this in all browsers:
for (var i = 11; i <=36; i++) { console.log(i, (0.1234).toString(i).length, (0.1234).toString(i)); }
In chrome, the maximum length I got was 1101, and in firefox it was 19.
It looks like some kind of rounding when converting numbers between bases, however I'm not sure what / when / what round Firefox uses here.
source share