
In JavaScript, numbers prefixed with a `0` are parsed as octal numbers
We're so accustomed to the decimal system (base-10) that it's easy to overlook this nuance. When you write 010, you might intuitively think it's ten, but JavaScript sees it as 1 * 8^1 + 0 * 8^0 = 8












