Skip to content

Commit 6e38086

Browse files
committed
add more to the comment
1 parent 107ef70 commit 6e38086

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
console.log(`I was born in ${cityOfBirth}`);
55
const cityOfBirth = "Bolton";
6+
// The error is that the const declation and initialization came after console.log so no access for cityOfBirth.

0 commit comments

Comments
 (0)