Open jpstotz opened 2 years ago
Looks like one of the waiting pull requests seem to already cover this case, because when I switch to esprima-next I don't get an error.
@jpstotz yes, I fixed this in my fork, cause there seems to be no move forward here...
When trying to parse the example code from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#public_field_declarations Esprima fails with
Error: Line 3: Unexpected token =
tested using Node.js v14.18.1