File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ count = count + 1;
55// Line 1 is a variable declaration, creating the count variable with an initial value of 0
66// Describe what line 3 is doing, in particular focus on what = is doing
77
8- // Answer: Line 3 is updating the value of the variable 'count' by adding 1 to its current value.
8+ // Answer: Line 3 is reassigning the value of the variable 'count' by adding 1 to its current value.
99// The = operator is used to update / assign a new value to the variable 'count'.
1010// It takes the current value of 'count', adds 1 to it, and then assigns that new value back to 'count'.
1111//
Original file line number Diff line number Diff line change 1- const TwelveHourClockTime = "8:53 pm" ;
2- const TwentyFourHourClockTime = "20:53" ;
1+ const twelveHourClockTime = "8:53 pm" ;
2+ const twentyFourHourClockTime = "20:53" ;
You can’t perform that action at this time.
0 commit comments