There was an error while loading. Please reload this page.
1 parent ed25b1d commit ee9f94cCopy full SHA for ee9f94c
1 file changed
Sprint-2/2-mandatory-errors/4.js
@@ -1,2 +1,10 @@
1
-const 12HourClockTime = "8:53pm";
2
-const 24hourClockTime = "20:53";
+const TwelveHourClockTime = "8:53pm";
+const TwentyFourHourClockTime = "20:53";
3
+console.log(TwelveHourClockTime);
4
+console.log(TwentyFourHourClockTime);
5
+
6
+//output: SyntaxError: Invalid or unexpected token
7
+// Javascript variables cannot start with a number
8
+// Updated numbers in each variable from 12HourClockTime to TwelveHourClockTime
9
+//and 24HourClockTime to TwentyFourHourClockTime and both times now print in
10
+//the console.
0 commit comments