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? Sign in to your account
With esversion: 8 or higher, I get this error message:
Class properties must be methods, Expected '(' but instead saw '='
Sample:
class Demo { static staticProperty = 'A'; } console.log(Demo.staticProperty);
Script runs as expected, yielding 'A'.
The text was updated successfully, but these errors were encountered:
Thanks for taking the time to file an issue! The language feature you are looking for is called "numeric separators", and if you search this project's issue tracker for that term, you'll find a corresponding feature request. In order to keep things organized, I'm going to close this issue as a duplicate.
Sorry, something went wrong.
The language feature you are looking for is called "numeric separators"...
This doesn't appear to have anything to do with numeric separators...but the link to class fields is correct, I guess.
No branches or pull requests
With esversion: 8 or higher, I get this error message:
Class properties must be methods, Expected '(' but instead saw '='
Sample:
Script runs as expected, yielding 'A'.
The text was updated successfully, but these errors were encountered: