Skip to content

Commit d7e51e9

Browse files
committed
answered Key exercise question 1 (Count).
1 parent d28242a commit d7e51e9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Sprint-2/1-key-exercises/1-count.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ count = count + 1;
44

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
7+
8+
//= mean assignment operator. Computer will calculate the result of "count + 1" and update the variable with the result.
9+
//In this question, variable "count" changed from 0 to 1.

0 commit comments

Comments
 (0)