Skip to content

Commit da67e68

Browse files
committed
Changed corrected code into a comment
1 parent b45b87d commit da67e68

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const cityOfBirth = "Bolton";
77
// The error is that the variable cityOfBirth isn't declared and assigned a value.
88
// To fix the error, we need to declare and assign a value to cityOfBirth before using it in the console.log statement.
99

10-
// The corrected code is below:
10+
// The correct code is below:
1111

12-
const cityOfBirth = "Bolton";
13-
console.log(`I was born in ${cityOfBirth}`);
12+
// const cityOfBirth = "Bolton";
13+
// console.log(`I was born in ${cityOfBirth}`);

0 commit comments

Comments
 (0)