support for locale-specific toLocaleString formatting? #12327
I would have expected (10000).toLocaleString('en') to return "10,000" but instead I get "10000".
Is there a reason this is not supported? or Am I doing something wrong? Are there better ways to format numbers?
The text was updated successfully, but these errors were encountered:
The basic idea here is that we compile test files with Browserify at `app/test`. An HTML file that forms the test runner lives at `static/test/test.html` and gets built to `app/test/test.html`. Caveats: Source maps don’t work for stack traces -- files need to be served over HTTP for that. This makes the callcount tests fail -- it turns out PhantomJS does not support `.toLocalString()`. See: ariya/phantomjs#12327 and ariya/phantomjs#12581