Skip to content

Commit 1abe61a

Browse files
committed
Fix cityOfBirth declaration order
1 parent 3ff94aa commit 1abe61a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
// Currently trying to print the string "I was born in Bolton" but it isn't working...
22
// what's the error ?
33

4-
console.log(`I was born in ${cityOfBirth}`);
4+
//console.log(`I was born in ${cityOfBirth}`);
5+
//const cityOfBirth = "Bolton";
6+
7+
// Currently trying to print the string "I was born in Bolton" but it isn't working...
8+
// what's the error ?
9+
510
const cityOfBirth = "Bolton";
11+
12+
console.log(`I was born in ${cityOfBirth}`);

0 commit comments

Comments
 (0)