Skip to content

Commit 6a65d99

Browse files
change the branch
0 parents  commit 6a65d99

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
let count = 0;
2+
3+
count = count + 1;
4+
5+
// Line 1 is a variable declaration, creating the count variable with an initial value of 0
6+
// Describe what line 3 is doing, in particular focus on what = reassign a variable using the = + operator.
7+
//Line 1 assigns count = 0. Line 3 uses that value (0) and adds 1, so count becomes 1.

0 commit comments

Comments
 (0)