Skip to content

Commit 1c5023d

Browse files
committed
Fix variable naming for twelve and twenty-four hour clock time
1 parent e6db536 commit 1c5023d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
const 12HourClockTime = "8:53pm";
2-
const 24hourClockTime = "20:53";
1+
const twelveHourClockTime = "8:53pm";
2+
const twentyFourHourClockTime = "20:53";
3+
4+
//The Error:
5+
//The code would not run because only a letter can follow the 'const' and 'let' declarations in javascript.

0 commit comments

Comments
 (0)