Skip to content

Commit 918f3c4

Browse files
authored
Add comment about variable naming rules
Added a comment explaining that variable names cannot start with a number, which causes a SyntaxError.
1 parent 428cd8a commit 918f3c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
const twelveHourClockTime = "8:53pm";
22
const twentyFourHourClockTime= "20:53";
3+
// a variable name cannot start with a number and it will cause a SyntaxError

0 commit comments

Comments
 (0)