Greasy Fork is available in English.

Country Code

ISO 3166-1 alpha-2

Ezt a szkriptet nem ajánlott közvetlenül telepíteni. Ez egy könyvtár más szkriptek számára, amik tartalmazzák a // @require https://update.greasyfork.org/scripts/465957/1188611/Country%20Code.js hivatkozást.

Fejlesztő
schimon
Verzió
23.04
Létrehozva
2023.05.10.
Frissítve
2023.05.10.
Licensz
MIT

Usage:

countryCode["DE"] // "Germany"

Example:

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

Solution:

nationCode = nationCode.toUpperCase()
countryCode[nationCode] // "Germany"