const select = document.querySelector('select');
const countries = ["Armenia", "Russia", "Germany", "France", "Georgia"];
for (let i = 0; i < countries.length; i++) {
const option = document.createElement('option');
option.value = countries[i].substr(0,2).toLowerCase();
option.textContent = countries[i];
select.append(option);
}