Skip to content

Commit 2300ec7

Browse files
authored
Add comments for count variable and assignment
Added comments to explain variable declaration and assignment.
1 parent d28242a commit 2300ec7

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
@@ -3,4 +3,5 @@ let count = 0;
33
count = count + 1;
44

55
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
6+
// Describe whaWt line 3 is doing, in particular focus on what = is doing
67
// Describe what line 3 is doing, in particular focus on what = is doing

0 commit comments

Comments
 (0)