base64 not defined in chrome terninal code example
Example 1: nodejs btoa
Buffer.from('Hello world!', 'binary').toString('base64')
Example 2: rror: btoa is not defined
console.log(Buffer.from('Hello World!').toString('base64'));
Buffer.from('Hello world!', 'binary').toString('base64')
console.log(Buffer.from('Hello World!').toString('base64'));