There was an error while loading. Please reload this page.
1 parent a50c7a7 commit 4c7f5d9Copy full SHA for 4c7f5d9
1 file changed
Sprint-2/2-mandatory-errors/2.js
@@ -1,5 +1,10 @@
1
// Currently trying to print the string "I was born in Bolton" but it isn't working...
2
// what's the error ?
3
4
-console.log(`I was born in ${cityOfBirth}`);
+// console.log(`I was born in ${cityOfBirth}`);
5
+// const cityOfBirth = "Bolton";
6
+
7
+//ReferenceError is happening
8
9
const cityOfBirth = "Bolton";
10
+console.log(`I was born in ${cityOfBirth}`);
0 commit comments