There was an error while loading. Please reload this page.
1 parent b20c858 commit 56bebf5Copy full SHA for 56bebf5
1 file changed
Sprint-2/2-mandatory-errors/1.js
@@ -1,5 +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
age = age + 1;
5
-// you can not reassign a value to variable that is declared const.
+// you can not reassign a value to variable that is declared const.
6
+console.log(age);
0 commit comments