(data)
| 164 | } |
| 165 | |
| 166 | function get_country_message(data) { |
| 167 | const country = data; |
| 168 | const countrys = country.split(", "); |
| 169 | let emoji_country = ""; |
| 170 | countrys.forEach(item => { |
| 171 | emoji_country += countryEmoji(item) + " " + item + ", "; |
| 172 | }); |
| 173 | return emoji_country.slice(0, -2); |
| 174 | } |
| 175 | |
| 176 | // function errorTip() { |
| 177 | // return { noData: "⭐️ N/A", error: "❌ N/A" } |
no test coverage detected