Skip to content

Commit 2dd0a78

Browse files
committed
explain Increment count variable by 1 after initialization.
1 parent 4c2c13b commit 2dd0a78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sprint-1/1-key-exercises/1-count.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ let count = 0;
22

33
count = count + 1;
44

5+
//
56
// 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
7+
// Line 3 Take the current value of count, and then add 1, and store the result back in count .

0 commit comments

Comments
 (0)