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 2cd98a1 commit 846928bCopy full SHA for 846928b
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,9 @@
1
-const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+const twelveHourClockTime = "20:53";
+const twentyFourHourClockTime = "08:53";
3
+
4
+console.log(twelveHourClockTime, twentyFourHourClockTime);
5
6
+//SyntaxError: Invalid or unexpected token
7
8
+// This error is happening because variable names cannot start with a number.
9
+// To fix this error, we can change the variable names to start with a letter instead of a numbers.
0 commit comments