Created
September 24, 2019 12:25
-
-
Save karpolan/f2cd01b4fb5a44d84b5b4526f9662e53 to your computer and use it in GitHub Desktop.
Unmistakable, easy to read, and "safe" chars as String constants
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
const UNMISTAKABLE_CHARS = "23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz"; | |
const BASE64_CHARS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" + "0123456789-_"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment