-
Notifications
You must be signed in to change notification settings - Fork 775
Open
Description
Steps to reproduce
Parse following code:
class ClassWithStaticMethod {
static staticProperty = 'someValue';
}
The code fails to parse, this can be reproduced using https://esprima.org/demo/parse.html
Actual output
The error is:
Error: Line 2: Unexpected token =
Relevant references
The code is extracted from example https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/static
Metadata
Metadata
Assignees
Labels
No labels