Skip to content

Commit 6b062a6

Browse files
committed
add errors task1
1 parent 61147c7 commit 6b062a6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

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

3-
const age = 33;
4-
age = age + 1;
3+
// const age = 33;
4+
// age = age + 1;
5+
6+
let age = 33;
7+
age = age + 1;

0 commit comments

Comments
 (0)