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 ca4da7c commit 4793b3dCopy full SHA for 4793b3d
Sprint-1/2-mandatory-errors/1.js
@@ -1,4 +1,5 @@
1
// trying to create an age variable and then reassign the value by 1
2
3
-const age = 33;
4
-age = age + 1;
+let age = 30; // Change const to let to allow reassignment
+age += 1; // Increment age by 1
5
+console.log(age);
0 commit comments