Skip to content

Commit aad57e3

Browse files
authored
Fix variable naming conventions in 4.js
Updated variable names to avoid starting with numbers.
1 parent 51f5920 commit aad57e3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
const twelveHourClockTime = "8:53pm";
22
const twintyFourhourClockTime = "20:53";
3-
43
//we see the error message SyntaxError: Invalid or unexpected token,
5-
64
//because variable conventions don't allow numbers to be the start of variable names
7-
85
//to solve this issue, we change the numbers to words format
9-
106
//done
117

0 commit comments

Comments
 (0)