From c040a90672297d55c5c0436b37e27c05c763a8a7 Mon Sep 17 00:00:00 2001 From: Muhammed Zakir <8190126+MuhammedZakir@users.noreply.github.com> Date: Fri, 11 Sep 2020 10:00:53 +0000 Subject: [PATCH] Added requested change --- 1-js/06-advanced-functions/04-var/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/06-advanced-functions/04-var/article.md b/1-js/06-advanced-functions/04-var/article.md index 40067116..b2559989 100644 --- a/1-js/06-advanced-functions/04-var/article.md +++ b/1-js/06-advanced-functions/04-var/article.md @@ -279,7 +279,7 @@ In all the above cases we declare a Function Expression and run it immediately. There are two main differences of `var` compared to `let/const`: -1. `var` variables have no block scope, they are visibility is scoped to current function, or global, if declared outside function. +1. `var` variables have no block scope; their visibility is scoped to current function, or global, if declared outside function. 2. `var` declarations are processed at function start (script start for globals). There's one more very minor difference related to the global object, that we'll cover in the next chapter.