array fill bug fix
This commit is contained in:
parent
e956d28c56
commit
458c18297d
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ Base64 = (function () {
|
|||
bit_vec.push(int);
|
||||
}
|
||||
|
||||
bit_vec.concat(Array.apply(0, this.bits.length));
|
||||
bit_vec.concat(Array(10).fill(0));
|
||||
this.bits = new Uint32Array(bit_vec);
|
||||
return this.append(data, length);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue