Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
// define base64 data; in this case the data is the string: "Hello, world!"
|
||||
const base64 = 'SGVsbG8sIHdvcmxkIQ==';
|
||||
// atob is a built-in function.
|
||||
console.log(atob(base64));
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
// define base64 data; in this case the data is the string: "Hello, world!"
|
||||
const base64 = Buffer.from('SGVsbG8sIHdvcmxkIQ==', 'base64');
|
||||
// <Buffer>.toString() is a built-in method.
|
||||
console.log(base64.toString());
|
||||
Loading…
Add table
Add a link
Reference in a new issue