Skip to content

Commit 78d25e4

Browse files
author
Nicholas C. Zakas
committed
Fixed flaw in decoding, now better handles missing equals sign
1 parent b67bb9b commit 78d25e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

encodings/base64/base64.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ function base64Decode(text){
170170
//transform what remains back into characters
171171
while(bits.length){
172172
part = bits.splice(0, 8).join("");
173-
console.log(part);
174173
result.push(String.fromCharCode(parseInt(part, 2)));
175174
}
176175

0 commit comments

Comments
 (0)