Skip to content

Commit 9045867

Browse files
Fix Typo in Closure
Replaced Scopped with Scoped
1 parent a07df82 commit 9045867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ add2(10) // 12
149149
## Closure
150150

151151
A closure is a way of accessing a variable outside its scope.
152-
Formally, a closure is a technique for implementing lexically scopped named binding. It is a way of storing a function with an environment.
152+
Formally, a closure is a technique for implementing lexically scoped named binding. It is a way of storing a function with an environment.
153153

154154
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.
155155
ie. they allow referencing a scope after the block in which the variables were declared has finished executing.

0 commit comments

Comments
 (0)