The Intl API provides language sensitive string comparison, number formatting, date and time formatting, and more.
Intl