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 0aceeed commit 0c3a7bfCopy full SHA for 0c3a7bf
Sprint-1/2-mandatory-errors/1.js
@@ -2,3 +2,7 @@
2
3
const age = 33;
4
age = age + 1;
5
+
6
+//TypeError: Assignment to constant variable.
7
+//what went wrong
8
+//The program is trying to reassign a constant variable. In javascript a constant once assigned cannot be reassigned another value
0 commit comments