Decodes a Base64 string to bytes in browsers and Node.js.
Invalid-input behavior follows the platform decoder: browser atob can throw, while Node.js can accept some non-canonical input.
atob
Decodes a Base64 string to bytes in browsers and Node.js.
Invalid-input behavior follows the platform decoder: browser
atobcan throw, while Node.js can accept some non-canonical input.