Wouldn’t it be nice to be able to easily convert a regular ISO 3166-1 alpha-2 country code to its respective Unicode emoji flag? Here we go... 'GB'.toUpperCase().replace(/./g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397)); This will tu...

Markdown supported · ⌘↵ to post
casiimir
front end 'n' outer space
Cool, thank you for sharing!