.btoa()
Description
Encodes the current string into Base-64.
Parameters
btoa takes no parameters.
Usage On Strings
encoded = "Hello world".btoa()
// "SGVsbG8gd29ybGQ="Last updated
Was this helpful?
Encodes the current string into Base-64.
btoa takes no parameters.
encoded = "Hello world".btoa()
// "SGVsbG8gd29ybGQ="Last updated
Was this helpful?