Skip to content

Commit 376bf6e

Browse files
committed
made correction for single-line comment
1 parent 94d7e29 commit 376bf6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
console.log(`I was born in ${cityOfBirth}`);
55
const cityOfBirth = "Bolton";
66

7-
// The variable const cityOfBirth = "Bolton"; needs to be declared at first.
8-
// As it is not declared, JavaScript cannot find out the variable cityofBirth in console.log.
7+
// The variable const cityOfBirth = "Bolton"; needs to be declared at first. //
8+
// As it is not declared, JavaScript cannot find out the variable cityofBirth in console.log. //

0 commit comments

Comments
 (0)