We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e22b2 commit 2bf18aeCopy full SHA for 2bf18ae
Sprint-1/1-key-exercises/1-count.js
@@ -3,6 +3,6 @@ let count = 0;
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 = is doing
7
-// Line 3 updates the value of count.
8
-// The = means “set count to a new value”, which is the old value plus 1.
+// I see that line 3 performs an increment operation.
+// It increases the value of count by 1 and assigns the new value back to the variable.
+// The = is the assignment operator — it assigns the result of (count + 1) back to count.
0 commit comments