From fbf443e414097e5a3a41dd1273ef9a4a3230e72c Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 9 Aug 2020 21:03:34 +0300 Subject: [PATCH] minor fixes --- 1-js/06-advanced-functions/03-closure/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/06-advanced-functions/03-closure/article.md b/1-js/06-advanced-functions/03-closure/article.md index e8eb934e..eea24eee 100644 --- a/1-js/06-advanced-functions/03-closure/article.md +++ b/1-js/06-advanced-functions/03-closure/article.md @@ -3,9 +3,9 @@ JavaScript is a very function-oriented language. It gives us a lot of freedom. A function can be created at any moment, passed as an argument to another function, and then called from a totally different place of code later. -We already know that a function can access variables outside of it. +We already know that a function can access variables outside of it ("outer" variables). -But what happens if these "outer" variables change since a function is created? Will the function see newer values 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?