minor fixes

This commit is contained in:
Ilya Kantor 2020-08-10 22:52:57 +03:00
parent fbf443e414
commit 3a924fc1e8

View file

@ -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.