将字符串编码为 Base64. JavaScript

将字符串编码为 Base64. JavaScript



使用 btoa() 将字符串编码为 Base64
JavaScript example code

JavaScript

  Output result
TGVhcm5pbmcgSmF2YVNjcmlwdA==
Learning JavaScript
使用 Base64 对象将字符串编码为 Base64
JavaScript example code

JavaScript

  Output result
TGVhcm5pbmcgSmF2YVNjcmlwdA==
Learning JavaScript.


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month