| 1 2 3 4 5 6 7 8 9 10 | 6x 6x 6x | import countryMap from './map/country-map';
const getCountry = (countryName, moreCountries = {}) => {
const countries = Object.assign({}, countryMap, moreCountries);
return countries[countryName];
};
export default getCountry; |