Great. More like this please :)
Stefano Monteiro
21

If a number starts with “0” , Then javascript consider it as octal number.

012 is octal number and it will be converted to decimal as 10.

var octalnum = 012
console.log(octalnum)

output
 — — — 
10

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.