Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit 9cc5e7c

Browse files
Merge pull request #63 from CodeYourFuture/standarizing-function-construct
Standarizing function contruct
2 parents 23d6e5c + 7d8a14d commit 9cc5e7c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

week-3/Homework/mandatory/1-practice/2-code-reading.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ Take a look at the following code:
66

77
```
88
1 let x = 1;
9-
2 {
10-
3 let x = 2;
11-
4 console.log(x);
12-
5 }
13-
6 console.log(x);
9+
2 function f1()
10+
3 {
11+
4 let x = 2;
12+
5 console.log(x);
13+
6 }
14+
7 console.log(x);
1415
```
1516

1617
Explain why line 4 and line 6 output different numbers.

0 commit comments

Comments
 (0)