minor fixes
This commit is contained in:
parent
fbf443e414
commit
3a924fc1e8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ We already know that a function can access variables outside of it ("outer" vari
|
||||||
|
|
||||||
But what happens if outer variables change since a function is created? Will the function get newer values or the old ones?
|
But what happens if outer variables change since a function is created? Will the function get newer values or the old ones?
|
||||||
|
|
||||||
And if a function is passed along as a parameter and called from another place of code, will it get access to outer variables at the new place?
|
And what if a function is passed along as a parameter and called from another place of code, will it get access to outer variables at the new place?
|
||||||
|
|
||||||
Let's expand our knowledge to understand these scenarios and more complex ones.
|
Let's expand our knowledge to understand these scenarios and more complex ones.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue