From 9045867897550bee7a2fbac360cc959911114bcc Mon Sep 17 00:00:00 2001 From: Sunny Patel Date: Wed, 10 May 2017 09:45:10 +0530 Subject: [PATCH] Fix Typo in Closure Replaced Scopped with Scoped --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 36ff36e..0d67777 100644 --- a/readme.md +++ b/readme.md @@ -149,7 +149,7 @@ add2(10) // 12 ## Closure A closure is a way of accessing a variable outside its scope. -Formally, a closure is a technique for implementing lexically scopped named binding. It is a way of storing a function with an environment. +Formally, a closure is a technique for implementing lexically scoped named binding. It is a way of storing a function with an environment. A closure is a scope which captures local variables of a function for access even after the execution has moved out of the block in which it is defined. ie. they allow referencing a scope after the block in which the variables were declared has finished executing.