From 29430e423d12d8580f1fc19d139d5c434f165885 Mon Sep 17 00:00:00 2001 From: CodeGuage <99533223+codeguage-code@users.noreply.github.com> Date: Sun, 4 Sep 2022 18:51:51 +0500 Subject: [PATCH] Some grammatic changes (#1685) --- .../105-scope-and-function-stack/102-closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/102-closures.md b/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/102-closures.md index 9a0fe7195..020e8f5bb 100644 --- a/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/102-closures.md +++ b/content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/102-closures.md @@ -1,6 +1,6 @@ # Closures -Function closures are one of the most powerful, yet most misunderstood, concepts of JavaScript that are actually really simple to understand. A closure refers to a function along with its lexical scope. It is essentially what allows us to return a function A, from another function B, that remembers the local variables defined in B, even after B exits. The idea of closures is employed in nearly every other JavaScript program, hence it's paramount for any JavaScript developer to know of it really well. +Function closures are one of the most powerful, yet most misunderstood, concepts of JavaScript that are actually really simple to understand. A closure refers to a function along with its lexical environment. It is essentially what allows us to return a function `A`, from another function `B`, that remembers the local variables defined in `B`, even after `B` exits. The idea of closures is employed in nearly every other JavaScript program, hence, it's paramount for a JavaScript developer to know of it really well. Free Content JavaScript Closures - The Simplest Explanation