Skip to content

Commit 9adaffa

Browse files
Clarify comment on count increment operation
1 parent 89dca89 commit 9adaffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let count = 0;
22

3-
count = count + 1; //it assigns the variable "count" the value of "count +1" which 1
3+
count = count + 1; //it increments the value of count by 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

0 commit comments

Comments
 (0)