我需要扭转这个条件,这意味着United States
。US
我试图在谷歌上找到,但不能。我该怎么做?
let regionNames = new Intl.DisplayNames(['en'], {type: 'region'});
console.log(regionNames.of('US')); // "United States"
我需要扭转这个条件,这意味着United States
。US
我试图在谷歌上找到,但不能。我该怎么做?
let regionNames = new Intl.DisplayNames(['en'], {type: 'region'});
console.log(regionNames.of('US')); // "United States"