There was an error while loading. Please reload this page.
1 parent c81c96d commit 50f9d8cCopy full SHA for 50f9d8c
1 file changed
Sprint-2/2-mandatory-errors/4.js
@@ -1,4 +1,6 @@
1
const twelveHourClockTime = "8:53pm";
2
const twentyfourHourClockTime = "20:53";
3
4
+// Answer: I got the error message SyntaxError: Invalid or unexpected token
5
+// There were arrows pointing at "12" in 12HourClockTime. That is because
6
// variable names cannot start with numbers in javascript. I changed them to start with letters.
0 commit comments