Skip to content

Commit 9facd61

Browse files
committed
done exercises count.js
1 parent b401696 commit 9facd61

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Sprint-1/exercises/count.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
2+
// Describe what line 3 is doing, in particular focus on what = is doing
3+
14
let count = 0;
25

36
count = count + 1;
7+
console.log(count);
8+
9+
// line 3 is taking the first value and reassings this new value to count its value + the number 1
410

5-
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
6-
// Describe what line 3 is doing, in particular focus on what = is doing

0 commit comments

Comments
 (0)