Variable DisplayNames

DisplayNames: {
    prototype: Intl.DisplayNames;
    supportedLocalesOf(locales?, options?) => string[];
    new (locales, options): Intl.DisplayNames;
}

Type declaration

  • prototype: Intl.DisplayNames
  • supportedLocalesOf:function
    • Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.

      Parameters

      Returns string[]

      An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.

      MDN.