Skip to content

Commit a3277b1

Browse files
committed
complete exercise 1-count
1 parent 3372770 commit a3277b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ 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 adds 1 to the value of count. It does this with a simple mathematical expression (count + 1) and using the = operator to reassign the result of the expression to the variable.

0 commit comments

Comments
 (0)