Skip to content

Commit 71c6802

Browse files
committed
updated to correct code error
1 parent 20639c2 commit 71c6802

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
1+
const time12HourClock = "08:53"; //1-variable names cannot start with a number // Changed variable name to start with a letter
2+
//2-Swap the values around to match the variable name
3+
const time24hourClockTime = "20:53"; //1-variable names cannot start with a number // Changed variable name to start with a letter

0 commit comments

Comments
 (0)