I have an annoying problem in JavaScript.

> parseInt(1 / 0, 19)
> 18

Why does the parseInt function return 18?

4 s
4

Leave a Reply

Your email address will not be published. Required fields are marked *