Skip to content

Commit 7f1a52d

Browse files
authored
described how "=" operates, with an example.
Corrected the increment operation for the count variable.
1 parent 3372770 commit 7f1a52d

File tree

1 file changed

+2
-1
lines changed

1 file changed

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

3-
count = count + 1;
3+
count = count + 1;
4+
// line 3 is assigning the variable "count" a new value of "count +1", then storing it back into "count".
45

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

0 commit comments

Comments
 (0)