Created
May 17, 2023 16:23
-
-
Save andrijac/abdef1886aeca762a83a3223558b5cfe to your computer and use it in GitHub Desktop.
Vaperware chars
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
let unicodeString = ""; | |
for(let i = 0xFF21; i <= 0xFF3A; i++) { | |
unicodeString += String.fromCharCode(i); // uppercase A-Z | |
} | |
for(let i = 0xFF41; i <= 0xFF5A; i++) { | |
unicodeString += String.fromCharCode(i); // lowercase a-z | |
} | |
for(let i = 0xFF10; i <= 0xFF19; i++) { | |
unicodeString += String.fromCharCode(i); // numbers 0-9 | |
} | |
console.log(unicodeString); | |
//output: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment