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

cubrad 887567 at bugs.launchpad.net
Tue Nov 8 15:41:50 UTC 2011


Le mardi 08 novembre 2011 à 13:40 +0000, Chris Coulson a écrit :
> 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).
> 

lol, I spend a thousand hours looking why my script was bugging.

thanks for explaining this.

-- 
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