Skip to content

Commit 88e4a0d

Browse files
committed
Changed the declaration type of the variable from const to let so we can reassign the value
1 parent 7489fae commit 88e4a0d

File tree

1 file changed

+1
-1
lines changed
  • Sprint-1/2-mandatory-errors

1 file changed

+1
-1
lines changed

Sprint-1/2-mandatory-errors/1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// trying to create an age variable and then reassign the value by 1
22

3-
const age = 33;
3+
let age = 33;
44
age = age + 1;

0 commit comments

Comments
 (0)