Skip to content

Commit 90f27bb

Browse files
complete 1-count
1 parent 5f999c7 commit 90f27bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

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

3-
count = count + 1;
3+
// count = count + 1;
44

5+
// count += 1;
6+
7+
count++;
8+
9+
console.log(count);
510
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
611
// Describe what line 3 is doing, in particular focus on what = is doing
12+
// In line 3 they are reassign the value for count by adding count+1 and = here called assigning operator

0 commit comments

Comments
 (0)