Structs
The
Intl.Collator
object is a constructor for collators, objects
that enable language sensitive string comparison.The
Intl.DateTimeFormat
object is a constructor for objects
that enable language-sensitive date and time formatting.The
Intl.NumberFormat
object is a constructor for objects
that enable language sensitive number formatting.The
Intl.PluralRules
object is a constructor for objects
that enable plural sensitive formatting and plural language rules.The
Intl.RelativeTimeFormat
object is a constructor for objects
that enable language-sensitive relative time formatting.Functions
The
Intl.getCanonicalLocales()
method returns an array containing
the canonical locale names. Duplicates will be omitted and elements
will be validated as structurally valid language tags.