Last active
August 24, 2020 09:31
-
-
Save tail-call/f8fa2052900c622a75a7014a7c5aac16 to your computer and use it in GitHub Desktop.
Get base64 alphabet
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
export const base64Alphabet = new Array(64).fill(null).map((_, i) => btoa(String.fromCharCode(0, 0, i))[3]).join(''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scarier version: