Skip to content

Consider adding negative Test For Invalid BigInt literals #5133

Description

@calvinalkan

Test262 appears to lack coverage ensuring that the BigInt suffix must be lowercase n.

For example, this should fail during parsing:

/*---
features: [BigInt]
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

1N;

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions