We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Esprima currently implements ES5 identifier grammar. It would be nice to update to ES6.
The text was updated successfully, but these errors were encountered:
@mathiasbynens You might be interested in this as well https://bugs.ecmascript.org/show_bug.cgi?id=4097#c4
Sorry, something went wrong.
@ikarienator Thanks for the heads up! Is this observable? If so, how?
E.g. how should the following code behave:
Function('var var;'); // grammar error → throws?
Function('var v\\u0061r;'); // early error → throws (before execution)?
@mathiasbynens They should both throw. I can't think of any way someone would be able to distinguish an early error from a grammar error.
Since this is quite a big topic, I'll spawn few new tickets which will tackle the individual issues separately.
This is now covered by all the most recent commits.
No branches or pull requests