John O'Reilly
12/02/2023, 1:43 PMOleksandr Karpovich [JB]
12/02/2023, 2:35 PMJohn O'Reilly
12/02/2023, 2:36 PMJohn O'Reilly
12/02/2023, 2:58 PM@JsFun(
""" (countryCode) => {
const regionNames = new Intl.DisplayNames(['en'], {type: 'region'});
return regionNames.of(countryCode)
}
"""
)
external fun getCountryName(countryCode: String): String
John O'Reilly
12/02/2023, 3:01 PM