[Bug 887567] Re: javascript parseInt("08") return the value 0

Chris Coulson chris.coulson at canonical.com
Tue Nov 8 13:40:03 UTC 2011


That's expected. Numbers with a leading zero are considered octal
numbers in Javascript, and "8" and "9" are not valid octal digits (which
is why everything up to "07" works).

** Changed in: firefox (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/887567

Title:
  javascript parseInt("08") return the value 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/887567/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list