mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
Fix scope in std/md5 (#6662)
This commit is contained in:
parent
8788553247
commit
c7afbdaee2
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ export class Md5 {
|
||||||
for (let i = 0; i < data.length; ++i) {
|
for (let i = 0; i < data.length; ++i) {
|
||||||
dataString += String.fromCharCode(data[i]);
|
dataString += String.fromCharCode(data[i]);
|
||||||
}
|
}
|
||||||
return window.btoa(dataString);
|
return btoa(dataString);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
throw new Error("md5: invalid format");
|
throw new Error("md5: invalid format");
|
||||||
|
|
Loading…
Reference in a new issue