coyotte508 HF Staff commited on
Commit
ed8d376
·
1 Parent(s): 2445c98

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -8,7 +8,7 @@ function hexFromBytes(arr) {
8
  if (globalThis.Buffer) {
9
  return globalThis.Buffer.from(arr).toString("hex");
10
  } else {
11
- const bin: string[] = [];
12
  arr.forEach((byte) => {
13
  bin.push(byte.toString(16).padStart(2, "0"));
14
  });
 
8
  if (globalThis.Buffer) {
9
  return globalThis.Buffer.from(arr).toString("hex");
10
  } else {
11
+ const bin = [];
12
  arr.forEach((byte) => {
13
  bin.push(byte.toString(16).padStart(2, "0"));
14
  });