When using parseInt, JS assumes that if the number starts with 0 then it is treated as an octal. WTF! stackoverflow.com/a/8763427…