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 8f50754 commit 1631f4eCopy full SHA for 1631f4e
Sprint-1/2-mandatory-errors/4.js
@@ -1,2 +1,8 @@
1
-const 12HourClockTime = "20:53";
2
-const 24hourClockTime = "08:53";
+// Prediction: The code will fail because variable names cannot start with a number.
+// JavaScript identifiers must begin with a letter, $, or _. Starting with a 12 or 24 is invalid.
3
+// The quotes used are also smart quotes which will cause a syntax error.
4
+
5
+// Corrected code:
6
7
+const twelveHourClockTime = "20:53";
8
+const twentyFourHourClockTime = "08:53";
0 commit comments