News for hackers. Stuff that matters.
Re:Opera moves to WebKit by nemetroid on Wednesday February 13, 2013 @06:13PM (#5216355)
Returning 0 makes perfect sense. parseInt matches an integer from the beginning of the string, so it reads the 0 and then stops at the 8 because 8 is not a valid digit in base 8.

    >>> parseInt("123foobar", 10)
    123
Re:Opera moves to WebKit by user24 on Thursday February 14, 2013 @06:16AM (#5218936)
Good point.