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
As with other modern languages, JavaScript numbers may contain _.
_
Examples:
let population = 8_501_000_000; let cents = 1_000_000_00;
jshint doesn't seem to be able to parse numbers that use underscores. It fails on the first digit whenever underscores are used:
[jshint] Unexpected '1'. [E]
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.
No branches or pull requests
As with other modern languages, JavaScript numbers may contain
_
.Examples:
jshint doesn't seem to be able to parse numbers that use underscores. It fails on the first digit whenever underscores are used:
The text was updated successfully, but these errors were encountered: