Skip to content

Commit f5658c8

Browse files
Rename variables for clarity: update HourClockTime to twelveHourClockTime and hourClockTime to twentyFourHourClockTime
1 parent 097fe3e commit f5658c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// JavaScript variable names cannot start with a number. They must start with an alphabet(A-Z), an underscore(_), or a dollar sign($). JavaScript is also case sensitive so they have to use camelCase, PascalCase, among others.
22

3-
const HourClockTime = "8:53pm";
4-
const hourClockTime = "20:53";
3+
const twelveHourClockTime = "8:53pm";
4+
const twentyFourHourClockTime = "20:53";
55

66
// console.log(HourClockTime);
77
// console.log(hourClockTime);

0 commit comments

Comments
 (0)