Skip to content

Commit 01fb6ae

Browse files
created New age variable
1 parent e9b4f5d commit 01fb6ae

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

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

33
const age = 33;
4-
age = age + 1;
4+
Newage = (age + 1);
5+
console.log(Newage)

0 commit comments

Comments
 (0)