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 872131a commit 08aad71Copy full SHA for 08aad71
Sprint-1/1-key-exercises/1-count.js
@@ -4,7 +4,9 @@ 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
Answer
9
10
// Line 3; when we the right side first count in the right side is considered as 0 so 0+1 will be 1.
11
// But the = sign does not mean the mathematical equal, its function is to take the result on the right and store it on the left.
12
// Therefore if we write the same code in next line the result is not one but 2
0 commit comments