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 1ff3404 commit ab26b8eCopy full SHA for ab26b8e
1 file changed
Sprint-1/2-mandatory-errors/1.js
@@ -2,3 +2,9 @@
2
3
const age = 33;
4
age = age + 1;
5
+// ANSWER
6
+// In the solution above, 'age' is a constant variable becuse the keyword 'const' was used with it hence the value cannot change.
7
+
8
+// Solution:
9
+let age = 33;
10
+let age = age + 1;
0 commit comments