function btoa
Jump to headingbtoa(s: string): stringCreates a base-64 ASCII encoded string from the input string.
console.log(btoa("hello world")); // outputs "aGVsbG8gd29ybGQ="
Parameters Jump to heading
Jump to headings: stringReturn Type Jump to heading
string