-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Support for Number.prototype.toLocaleString with arguments #729
Comments
@terrymun do you want to try and implement this? |
Here probably: https://github.com/sebastienros/jint/blob/dev/Jint/Native/Number/NumberPrototype.cs#L53 The specification is in this document: |
@sebastienros I would very much love to help, but I am, unfortunately, quite unfamiliar with C# to be honest. I have created this issue because of the backend part of a project that requires JS evaluation on the server-side. |
Hi, I gave this a shot. I have branch for this but cannot push. Not very proud of the solution and its done with a shortcut.
So tons of work to do it the right way. If I get permissions I would like to share the PR for thought sharing and possible contribution if you will. Thanks a lot. Awesome project btw! |
You can push to your own repository and create a pull request against this repository to demonstrate your changes. You don't need write access to PR's target repository. |
I'm closing this as initial version has been merged and published to NuGet, we can refine with PRs. |
Even though Internationalization support is documented in the readme, I realized that it is not possible to provide arguments to the
Number.prototype.toLocaleString
method.For example, the following examples will not work in the latest v2 release:
The text was updated successfully, but these errors were encountered: