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 3372770 commit 30a9b02Copy full SHA for 30a9b02
Sprint-1/1-key-exercises/1-count.js
@@ -4,3 +4,8 @@ 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
+
8
+// line 3 is updating the value of the count variable by adding 1 to its current value.
9
+// The = opperator is an assignment opperator that assigns the result of the expression on the right (count+1) to the varibale on the left (count).
10
+// so, if count was 0 befor line 3 is excuted it will be 1 after line 3 is excuted.
11
+// And if it was 1 it will be 2 after line 3 is excuted.
0 commit comments