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 3d0ea75 commit c611ae5Copy full SHA for c611ae5
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,11 @@
1
-const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+// const 12HourClockTime = "20:53";
+// const 24hourClockTime = "08:53";
3
+
4
+// Variables cannot start with a number.
5
+// When JavaScript tries to run the code, it throws a SyntaxError.
6
+// To fix the error we can rename the variable to start with a letter, a underescore_ or a dollar sign $ instead of a number.
7
8
+const twelveHourClockTime = "8:53";
9
+const twentyFourHourClockTime = "08:53";
10
11
+// I changed the time to match the 12 and 24 hr clock format.
0 commit comments