ISO 3166-1 alpha-2
目前為
此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/465957/1188611/Country%20Code.js
Usage:
countryCode["DE"] // "Germany"
Example:
nationCode = "de"
countryCode[nationCode] // undefined
Solution:
nationCode = nationCode.toUpperCase()
countryCode[nationCode] // "Germany"