You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-2/2-mandatory-errors/2.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
// Currently trying to print the string "I was born in Bolton" but it isn't working...
2
-
// what's the error?
2
+
// what's the error?in the original code,line 4 creates it and line 3 uses the createOfBirth,Then I changed console.log to the next line because we need to declare the variable before using it.
3
3
//ReferenceError: Cannot access 'cityOfBirth' before initialization
0 commit comments