โoctal literals not allowed in strict modeโ๏ธ
๐ง under construction
JS โฉ error โฉ SyntaxError โฉ delete of an unqualified identifier in strict mode
let x = 010; // โ octal literal
let y = 0x10; // โญ hexadecimal literal
// mode: sloppy strict
// -------------------------------------
x, // โ
8 โ SyntaxError
y, // โ
16 โ
16
// โ SyntaxError: Octal literals are not allowed in strict mode.
Last updated
Was this helpful?