Skip to content

Commit 56fa843

Browse files
author
russom
committed
Variable names changed to start with letters instead of numbers.
1 parent 33a29e1 commit 56fa843

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • Sprint-1/2-mandatory-errors

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
const 12HourClockTime = "8:53pm";
22
const 24hourClockTime = "20:53";
3+
4+
// In js variable names cannot start with a number. The variable names are changed to start with a letter instead of a number as below.
5+
const twelveHourClockTime = "8:53pm";
6+
const twentyFourHourClockTime = "20:53";

0 commit comments

Comments
 (0)