(Go: >> BACK << -|- >> HOME <<)

Skip to content
New issue

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

Identifier_after_number error new detail suggestion: #566

Open
1 task
hueychen27 opened this issue Jul 14, 2024 · 0 comments
Open
1 task

Identifier_after_number error new detail suggestion: #566

hueychen27 opened this issue Jul 14, 2024 · 0 comments
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. proposal Auto label for new proposals added via the suggestion form

Comments

@hueychen27
Copy link

Proposal

I have come across this error message when running the code 3.toString(), and I feel like details should be added to warn the user to put parenthesis around numbers when calling methods to them. The link to the site is: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Identifier_after_number

Browser support

This is simply is a notice on how to fix the "Identifier after number" error when calling a method on a number type, so this should work on all browsers to use (3).toString() instead of 3.toString().

Tasks

  • Add representative of error and error fix for when calling methods to numbers in a pull request.

Dependencies

None

Additional information

None

Are you willing to support this work?

Yes :D

@hueychen27 hueychen27 added needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. proposal Auto label for new proposals added via the suggestion form labels Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. proposal Auto label for new proposals added via the suggestion form
Projects
None yet
Development

No branches or pull requests

1 participant