← Stop Hacking Base64 With btoa(). toBase64() Fixes It Natively.Quiz

btoa() vs toBase64() — do you know why the old way breaks?

Seven questions on why btoa()/atob() fall over on real data, and what Uint8Array.prototype.toBase64() and Uint8Array.fromBase64() actually do differently.

questions7
pass mark70%
resultsat the end

No account needed. Answer all 7 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.