Skip to content

Commit 29a9fe7

Browse files
committed
variables cannot start with a number
1 parent 567de86 commit 29a9fe7

File tree

1 file changed

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

1 file changed

+5
-2
lines changed

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 = "20:53";
2-
const 24hourClockTime = "08:53";
1+
const ClockTime12Hour = "08:53";
2+
const ClockTime24Hour = "20:53";
3+
// Variables cannot start with a number
4+
// Can only contain letters, numbers, underscores and $
5+
// Variables wre written wrong way around

0 commit comments

Comments
 (0)