Skip to content

Commit 001baba

Browse files
committed
completed 1.js made correction change number to age
1 parent 8af030a commit 001baba

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ age = age + 1;
66
//Answer:
77
//we cannot re-assign variables with "const".
88
// We have use "let". let allows the variable to be re-assigned.
9-
109
let age = 33;
11-
age = 33 + 1;
10+
age = age + 1;

0 commit comments

Comments
 (0)