Skip to content

Commit 424ec1c

Browse files
authored
Change age variable to let and reassign value
Changed 'const' to 'let' for age variable and reassigned it to 1.
1 parent 4b1bd0d commit 424ec1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 2 additions & 2 deletions
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;
4-
age = age + 1;
3+
let age = 33;
4+
age = 1;

0 commit comments

Comments
 (0)