Languages

JavaScript - what atob() function name means?

6 points
Asked by:
Lily
548

My question is, why atob() function has so strange name?

1 answer
5 points
Answered by:
Root-ssh
178540

atob() is very old JavaScript function. The function name convention comes from C language. To keep JS API legacy it stayed unchanged all years.

"atob" name should be read as "ASCII to binary".

atob() function converts Base64 string (a - Base64 ASCII characters) to normal string (b - bytes represented as JavaScript String).

0 commentsAdd comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join