Last active
October 12, 2023 06:59
-
-
Save Alex4386/913e0eec68dbd8356b5f9c5f98765d74 to your computer and use it in GitHub Desktop.
one-liner Unicode Flag Builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"US".toUpperCase().split("").map(n => n.charCodeAt(0) - 65 + 0x1f1e6).map(n => String.fromCodePoint(n)).join("").toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment