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 8f90b4f commit 1da375fCopy full SHA for 1da375f
Sprint-1/2-mandatory-errors/1.js
@@ -1,4 +1,7 @@
1
// trying to create an age variable and then reassign the value by 1
2
3
-const age = 33;
+// in this case, we will need to replace the const keyword with let keyword as const vasriable refuses to be reassigned.
4
+let age = 33;
5
age = age + 1;
6
+
7
+console.log(age);
0 commit comments