Skip to content

Commit 195821c

Browse files
replaced var with let variable
1 parent 975f1e4 commit 195821c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-1/2-mandatory-errors

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

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

3-
var age = 33;
3+
let age = 33;
44
age = age + 1;
55

66
console.log(age);

0 commit comments

Comments
 (0)