There was an error while loading. Please reload this page.
1 parent 05cb7b5 commit 2edba64Copy full SHA for 2edba64
1 file changed
Sprint-2/2-mandatory-errors/1.js
@@ -1,4 +1,6 @@
1
// trying to create an age variable and then reassign the value by 1
2
3
-const age = 33;
+let age = 33;
4
+// Use let instead of const so the value can be reassigned.
5
age = age + 1;
6
+console.log(age);
0 commit comments