Skip to content

Commit e1447e3

Browse files
committed
Increase by 1 the variable count
1 parent 5dc9452 commit e1447e3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
12 KB
Binary file not shown.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ 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+
/**
9+
* Line 3 increase the count variable by 1 then assign the result in right hand side to count variable
10+
*/
11+
12+
console.log('Value of count variable: ', count)
13+

0 commit comments

Comments
 (0)