Skip to content

Commit fb2159a

Browse files
committed
Use consistent time format variable names
1 parent 6ca968b commit fb2159a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const HourClockTime = "8:53pm";
2-
const hourClockTime = "20:53";
3-
1+
const clockTime12Hour = "8:53pm";
2+
const clockTime24Hour = "20:53";
43
// Naming convention: In JavaScript, variable names cannot begin with a number.
54
// It would crash instantly with a syntax error:

0 commit comments

Comments
 (0)