ISO 3166-1 alpha-2
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @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"