Skip to content

Commit c3ffe0e

Browse files
author
JorvanW
committed
changed error in mandatory-errors 2.js
1 parent 1bdb1a4 commit c3ffe0e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33

44
console.log(`I was born in ${cityofBirth}`);
55
const cityofBirth = "Bolton";
6-
//Spelling Error - cityofBirth is misspelled as cityOfBirth in the console.log statement.
6+
7+
8+
//Structuring error. line 5 should be before line 4 for it to work.

0 commit comments

Comments
 (0)