We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1413d04 commit ad59545Copy full SHA for ad59545
Sprint-1/2-mandatory-errors/2.js
@@ -1,5 +1,5 @@
1
// Currently trying to print the string "I was born in Bolton" but it isn't working...
2
-// what's the error ?
+// what's the error ? Ans:They i try to prin the cityOfBirth before it was defined
3
4
-cityOfBirth = "Bolton";
+const cityOfBirth = "Bolton";
5
console.log(`I was born in ${cityOfBirth}`);
0 commit comments