From 397ee9ab48cbdc09256166acae83db11827225c1 Mon Sep 17 00:00:00 2001 From: "Violet.Lee" Date: Fri, 24 May 2019 10:21:44 +0900 Subject: [PATCH] specifying the property inside Environment Record --- 1-js/06-advanced-functions/03-closure/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/03-closure/article.md b/1-js/06-advanced-functions/03-closure/article.md index 4c156896..3927dfd9 100644 --- a/1-js/06-advanced-functions/03-closure/article.md +++ b/1-js/06-advanced-functions/03-closure/article.md @@ -140,7 +140,7 @@ So, during the function call we have two Lexical Environments: the inner one (fo - The inner Lexical Environment corresponds to the current execution of `say`. - It has a single variable: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`. + It has a single property: `name`, the function argument. We called `say("John")`, so the value of `name` is `"John"`. - The outer Lexical Environment is the global Lexical Environment. It has `phrase` and the function itself.