I\'ve been trying to debug a problem today and I finally found out what the problem is. For some reason, when a number has a leading zero JavaScript does something really we
A number with a leading 0 is parsed as an octal literal, which is in base 8.