2 ms·
No-one uses these often, and you have a 50% of guessing right every time!
by javajosh 4y ago
No-one uses these often, and you have a 50% of guessing right every time!
- codetrotter 4y agoThis other page has some more details > The btoa() method creates a Base64-encoded ASCII string from a binary string (i.e., a string in which each character in the string is treated as a byte of binary data). https://developer.mozilla.org/en-US/docs/Web/API/btoa https://developer.mozilla.org/en-US/docs/Web/API/btoa So the naming makes sense after all. btoa() is binary to (base64 encoded) ascii. But I’m still not gonna remember this either :^)