I have an annoying problem in JavaScript.(我在JavaScript中遇到了烦人的问题。)
> parseInt(1 / 0, 19) > 18
parseInt
18
The result of 1/0 is Infinity .(1/0的结果是Infinity 。)
1/0
Infinity
Infinity.toString()
"Infinity"
Base 19 Base 10 (decimal) --------------------------- 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 a 10 b 11 c 12 d 13 e 14 f 15 g 16 h 17 i 18
I
n
parseInt("I", 19)
1.4m articles
1.4m replys
5 comments
57.0k users