Remove console.log

This commit is contained in:
Sangeeth Sudheer 2024-04-10 20:29:33 +05:30
parent a8d46f559b
commit 98d096535c
Signed by: x
GPG Key ID: F6D06ECE734C57D1
1 changed files with 0 additions and 2 deletions

View File

@ -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;
} }