Skip to content

Instantly share code, notes, and snippets.

@vibrates09
Created September 22, 2022 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vibrates09/582f7f8597347412da25615c54dd6421 to your computer and use it in GitHub Desktop.
Save vibrates09/582f7f8597347412da25615c54dd6421 to your computer and use it in GitHub Desktop.
euCountryCodes.js
// Europe has 44 countries
// meanwhile this array has 46 items. 'JE' and 'GI' are part of UK.
const euCountryCodes = [
'DE', // Germany
'IE', // Ireland
'IT', // Italy
'MT', // Malta
'GB', // United Kingdom
'NL', // Netherlands
'FR', // France
'BE', // Belgium
'PT', // Portugal
'HR', // Croatia
'ES', // Spain
'SI', // Slovenia
'HU', // Hungary
'CZ', // Czech Republic
'PL', // Poland
'FI', // Finland
'GR', // Greece
'SK', // Slovakia
'AT', // Austria
'SE', // Sweden
'RS', // Serbia
'UA', // Ukraine
'RO', // Romania
'DK', // Denmark
'CH', // Switzerland
'LV', // Latvia
'NO', // Norway
'BG', // Bulgaria
'LT', // Lithuania
'EE', // Estonia
'CY', // Cyprus
'BA', // Bosnia and Herzegovina
'SM', // San Marino
'BY', // Belarus
'RU', // Russia
'JE', // Jersey (UK)
'LU', // Luxembourg
'IS', // Iceland
'FO', // Faroe Islands
'MK', // Macedoni
// --
'AL', // Albania
'LI', // Liechtenstein
'ME', // Montenegro
'AD', // Andorra
'GI', // Gibraltar (UK)
'MC', // Monaco
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment