Write out 074 in the console and it'll return 60.
074
>>60
Why?
Adding a zero before a number tells javascript to interpret it as an octal (base 8) value.
According to the MDN documentation on number literals, you can use the following to represent numbers on different base:
0b
or 0B
0
0x
or 0X`e
followed by a number (1e3
= 1x103)