Skip to content

Commit 550150b

Browse files
answer no 2.1
1 parent 373d3aa commit 550150b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • Sprint-2/2-mandatory-errors

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

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

3-
const age = 33;
3+
let age = 33;
4+
45
age = age + 1;
56

67
console.log(age);

0 commit comments

Comments
 (0)