Skip to content

Commit 57564ec

Browse files
authored
Adding two comments to describe line 3
1 parent 8f3d6cf commit 57564ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ count = count + 1;
44

55
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
66
// Describe what line 3 is doing, in particular focus on what = is doing
7+
8+
// Line 3 is changing the value of the count variable by increasing 1 to its current value.
9+
// The = operator is used to assign the new value back to the count variable.

0 commit comments

Comments
 (0)