dimanche 22 février 2015

Simulate different locale in JavaScript for type conversions?


Is there some way to simulate a different locale in JavaScript? Preferably without altering code (like a tool, perhaps part of a debugging tool letting me alter it). I am especially thinking of conversions between strings and floats.


If I want to test a particular language, is it enough to install a browser using it? Or does it also depend on OS, or are browsers not consistent.





Aucun commentaire:

Enregistrer un commentaire