Skip to content

Commit

Permalink
small cosmetic improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
diegommm committed Sep 23, 2023
1 parent ca8a394 commit b8a3762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,6 @@ const base64EncodeFromBytes = Object.freeze(function(
): string {
let binString = '';
for (let i=0; i < s.length; i++)
binString += String.fromCodePoint(...s[i]);
binString += String.fromCodePoint.apply(undefined, s[i]);
return btoa(binString);
});

0 comments on commit b8a3762

Please sign in to comment.