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 3425e3b commit fa0ebc7Copy full SHA for fa0ebc7
Sprint-1/2-mandatory-errors/1.js
@@ -2,3 +2,6 @@
2
3
const age = 33;
4
age = age + 1;
5
+console.log(age); // Output: 34
6
+// The code above declares a variable age with an initial value of 33.
7
+// It then reassigns the value of age by adding 1 to its current value, so the declaration must be using 'let' keyword.
0 commit comments