Intl
Summary
The Intl object serves as a namespace for the i18n API. It is a standard built-in object that is the initial value of the Intl property of the global object. It is not possible to use the Intl object as a constructor with the new operator. It is not possible to invoke the Intl object as a function.
Properties
No properties.
Methods
No methods.
Events
No events.
Examples
Checking if i18n API is supported.
if (Intl !== undefined) {
use Intl methods
}
Related specifications
- Internationalization Overview
- W3C Standard
- Internationalization Tag Sets
- W3C Recommendation