๐ง under construction
Last updated 2 years ago
Was this helpful?
โฉ โฉ โฉ delete of an unqualified identifier in strict mode
:
replit๏ผ
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.
literal
strict mode
always use strict mode
itHome โฉ โฉ
octal literal