Encodes the current string into Base-64.
btoa takes no parameters.
btoa
encoded = "Hello world".btoa() // "SGVsbG8gd29ybGQ="
Last updated 3 months ago