code: function countryNameToCode (name) {
    const country = countries.find((country) => country.name === name)
  
    if (!country) {
      return name
    }
  
    return country.code
  }
docs: Convert country name to code
  Note: If name is missing in countries list just return name
  @param {String} name - country name
  @returns {String} country code