getCountry (JavaScript)
Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code.
Defined in
Locale (Runtime - JavaScript)Syntax
getCountry() : string| Return value | Description |
|---|---|
string |
The country/region code for this locale. |