From e96ee4884eacfa7c312289e2bc5063cda02c76a3 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 22 Jan 2019 15:35:55 +0200 Subject: [PATCH] javascript(linear-regression): fixed const Signed-off-by: prescientmoon --- javascript/linear-regression/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/linear-regression/js/main.js b/javascript/linear-regression/js/main.js index f32bc05..a98ea99 100644 --- a/javascript/linear-regression/js/main.js +++ b/javascript/linear-regression/js/main.js @@ -6,7 +6,7 @@ canvas.width = window.innerWidth; const w = window.innerWidth; const h = window.innerHeight; -const points = []; +let points = []; const pointSize = 5; const shuffleProcent = 0.99;