Skip to content

"Octal literals are not allowed in strict mode." is not a synax error #2684

Description

@tom--
 SyntaxError: Octal literals are not allowed in strict mode 

The error message is not technically correct. Octal, hex, decimal etc. are differences in morphology, not syntax. So it is a grammar error and, more specifically, it is a morphology error but it is not a syntax error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions