Skip to content

Commit e06ea00

Browse files
committed
error correct
1 parent 0d5917b commit e06ea00

File tree

1 file changed

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

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
2+
const 24hourClockTime = "08:53";
3+
4+
// cost 12HourClockTime = "20.53" is wrong code because 20 is more than 12 and variable name can not start with digital in JavaScript.
5+
// The right coe should be:
6+
7+
const TwelveHourClockTime = "8:53"
8+
const TwentyFourHourClockTime = "20:53"

0 commit comments

Comments
 (0)