Skip to content

Commit b0f2a10

Browse files
committed
file fixed
1 parent 3d8b1b7 commit b0f2a10

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎debugging/code-reading/readme.md‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Take a look at the following code:
1616
```
1717

1818
Explain why line 5 and line 8 output different numbers.
19-
line 5 logs the "let x" from the local scope of the function
20-
where as line 8 uses the "let x" from line one in the global scope
2119

2220
## Question 2
2321

@@ -36,13 +34,6 @@ console.log(y);
3634
```
3735

3836
What will be the output of this code. Explain your answer in 50 words or less.
39-
you will get
40-
10
41-
undefined
42-
undefined
43-
the x is in the global scope so accsesable to f1
44-
f1 has no return value to log
45-
and the y is only in the local scope of the function
4637

4738
## Question 3
4839

0 commit comments

Comments
 (0)