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 4247c11 commit e781b95Copy full SHA for e781b95
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,12 @@
1
const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+const 24hourClockTime = "08:53";
3
+
4
5
6
+console.log(12HourClockTime);
7
+console.log(24hourClockTime);
8
9
+// it throws a SyntaxError: Invalid or unexpected token because variable names cannot start with a number.
10
+// The error is that we are trying to assign a string value to a variable that starts with a number, which is not allowed in JavaScript.
11
+// Variable names cannot start with a number.
12
0 commit comments