8000 Add Format API, `Measure.prototype.toString` may not be enough · Issue #20 · tc39/proposal-measure · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Format API, Measure.prototype.toString may not be enough #20

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

Open
tpoisseau opened this issue Dec 23, 2024 · 0 comments
Open

Add Format API, Measure.prototype.toString may not be enough #20

tpoisseau opened this issue Dec 23, 2024 · 0 comments
6932

Comments

@tpoisseau
Copy link

What about a format API interoperable with Intl API design ?

see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString

Provide an Intl.MeasureFormat API and Measure.prototype.toLocaleString shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0