Skip to main content

property Intl.Locale.variants

Returns the variant subtags of the locale as a single string, with subtags separated by -. Returns undefined if the locale has no variant subtags.

MDN Reference

Type #

string | undefined

Did you find what you needed?

Privacy policy