From 52a4fcb1da69096e9aecf2dda7c66ef8f749c857 Mon Sep 17 00:00:00 2001 From: AmrGablla Date: Tue, 27 Apr 2021 01:50:27 +0200 Subject: [PATCH] Not correct values You need to use i as an index or just printout the correct values of i*i = [0, 1, 4, 9, 16] --- 06_Day_Loops/06_day_loops.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/06_Day_Loops/06_day_loops.md b/06_Day_Loops/06_day_loops.md index f0809fb..4cb64cd 100644 --- a/06_Day_Loops/06_day_loops.md +++ b/06_Day_Loops/06_day_loops.md @@ -112,7 +112,7 @@ for(let i = 0; i < numbers.length; i++){ } -console.log(newArr) // [1, 4, 9, 16, 25] +console.log(newArr) // [0, 1, 4, 9, 16] ``` ```js