mirror of
https://github.com/runofthemillgeek/swarnam-obsidian.git
synced 2025-01-18 05:40:13 +00:00
Remove console.log
This commit is contained in:
parent
a8d46f559b
commit
98d096535c
2
main.ts
2
main.ts
@ -16,9 +16,7 @@ function bytesToBase64(bytes: Uint8Array) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function asBase64(text: string) {
|
function asBase64(text: string) {
|
||||||
console.log({ text });
|
|
||||||
const b64 = bytesToBase64(new TextEncoder().encode(text));
|
const b64 = bytesToBase64(new TextEncoder().encode(text));
|
||||||
console.log(console.log(new TextDecoder().decode(base64ToBytes(b64))));
|
|
||||||
return b64;
|
return b64;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user