From f3b61dd92262313e13ca4f8f88c18145700a2db2 Mon Sep 17 00:00:00 2001 From: Zutatensuppe Date: Thu, 15 Apr 2021 12:42:55 +0200 Subject: [PATCH] const instead of let --- common/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Util.js b/common/Util.js index 144067e..6a87275 100644 --- a/common/Util.js +++ b/common/Util.js @@ -58,7 +58,7 @@ export const shuffle = ( /** @type Rng */ rng, array ) => { - let arr = array.slice() + const arr = array.slice() for (let i = 0; i <= arr.length - 2; i++) { const j = randomInt(rng, i, arr.length -1);