(code)
| 203 | } |
| 204 | |
| 205 | const countryCodeToFlagEmoji = function (code) { |
| 206 | if ((code != null ? code.length : undefined) !== 2) { return code } |
| 207 | return (Array.from(code.toUpperCase()).map((c) => String.fromCodePoint(c.charCodeAt() + 0x1F1A5))).join('') |
| 208 | } |
| 209 | |
| 210 | const countryCodeToName = function (code) { |
| 211 | let country |
nothing calls this directly
no outgoing calls
no test coverage detected