Skip to content

Commit 8d6a97a

Browse files
authored
Fix variable usage to correctly log city of birth
1 parent f42c57b commit 8d6a97a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Currently trying to print the string "I was born in Bolton" but it isn't working...
22
// what's the error ?
3-
4-
console.log(`I was born in ${cityOfBirth}`);
53
const cityOfBirth = "Bolton";
4+
console.log(`I was born in ${cityOfBirth}`);

0 commit comments

Comments
 (0)