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

Add documentation JavaScript numeric separators #503

Open
martinheidegger opened this issue Dec 24, 2023 · 1 comment
Open

Add documentation JavaScript numeric separators #503

martinheidegger opened this issue Dec 24, 2023 · 1 comment
Labels
proposal Auto label for new proposals added via the suggestion form

Comments

@martinheidegger
Copy link

Proposal

Numeric Separators have been adopted by all major JavaScript engines (caniuse). It would be awesome to have a section on Numbers and Dates that explains the use of it. I was thinking of simply adding a section but I wasn't sure how to phrase it or where to put a compatibility section. Maybe it should be just a short section linking to it's own page?

Browser support

No response

Tasks

No response

Dependencies

No response

Additional information

No response

Are you willing to support this work?

Yes, though I am not sure I am capable of it.

@martinheidegger martinheidegger 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 Dec 24, 2023
@Rumyra
Copy link
Contributor

Rumyra commented Apr 5, 2024

Hi @martinheidegger thanks for the suggestion.

We document numeric separators (along with the browser compat) in our reference section here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#numeric_literals - but adding some info about it in the Numbers and Dates page sounds like a good idea.

I don't think it needs to be much, just a paragraph introducing it and an example within the Numbers section https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Numbers_and_dates#numbers - let me know what you think

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

No branches or pull requests

3 participants
@Rumyra @martinheidegger and others