Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change country code to country name in javascript

let regionNames = new Intl.DisplayNames(['en'], {type: 'region'});
regionNames.of('US');  // "United States"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #country #code #country #javascript
ADD COMMENT
Topic
Name
7+2 =