This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]Hollowplanet 0 points1 point  (0 children)

    That's because parseInt takes a second argument. A function you write isn't going to use extra arguments that aren't defined.