Skip to content

ZNTC0801: Octal literals are not allowed in strict mode

Octal literals are not allowed in strict mode

Category: Parser: Strict Mode

"use strict"; const x = 0123;

Reproduce in Playground →

See the error message for cause and resolution.