Country Code

ISO 3166-1 alpha-2

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyforks.org/scripts/465957/1188611/Country%20Code.js

लेखक
Schimon
आवृत्ती
23.04
बनवली
2023-05-10
अपडेट केली
2023-05-10
आकार
6.16 KB
License
MIT

Usage:

countryCode["DE"] // "Germany"

Example:

nationCode = "de"
countryCode[nationCode] // undefined

Solution:

nationCode = nationCode.toUpperCase()
countryCode[nationCode] // "Germany"
长期地址
遇到问题?请前往 GitHub 提 Issues。