Octal literals are not allowed because disallowing them discourages programmers from using leading zeros as padding in a script. For example, look at the following snippet:
var eight = 0008,
nine = 00009,
ten = 000010,
eleven = 011;
console.log(eight, nine, ten, eleven);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…