From 458c18297de6a74b2257aee58f4daf19aa825167 Mon Sep 17 00:00:00 2001 From: ferricles Date: Mon, 4 Jul 2022 10:08:44 -0700 Subject: [PATCH] array fill bug fix --- js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils.js b/js/utils.js index df2fbe7..fda22e6 100644 --- a/js/utils.js +++ b/js/utils.js @@ -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); }