There was an error while loading. Please reload this page.
1 parent c0d7fe1 commit 4f22846Copy full SHA for 4f22846
1 file changed
Sprint-1/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
age = age + 1;
5
+
6
+// changed the variable from const (which cannot be reassigned) to let
0 commit comments