Skip to content

Commit 85aded1

Browse files
committed
added description of code on line 3
1 parent 8497414 commit 85aded1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ 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 is reassigning the variable count to the value of count plus one so the new value would be 1 as count was originally zero so count is now 1.

0 commit comments

Comments
 (0)