Skip to content

Commit eaf8513

Browse files
authored
Rename clock time variables for clarity
Updated variable names to follow JavaScript naming conventions.
1 parent ced4d8c commit eaf8513

File tree

1 file changed

+7
-2
lines changed
  • Sprint-1/2-mandatory-errors

1 file changed

+7
-2
lines changed

Sprint-1/2-mandatory-errors/4.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
1+
//const 12HourClockTime = "20:53";
2+
//const 24hourClockTime = "08:53";
3+
4+
const twentyFourHourClockTime = "20:53";
5+
const twelveHourClockTime = "08:53";
6+
7+
//variable names in js cannot start with numbers

0 commit comments

Comments
 (0)