Skip to content

Commit a5f11ec

Browse files
committed
complete 1-count exercise
1 parent 8f3d6cf commit a5f11ec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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+
//Line 3 updates the variable count, It takes the value on the right (count + 1, which is 0 + 1 = 1),
8+
// and stores it back into `count` using the = assignment operator.
9+

0 commit comments

Comments
 (0)