Skip to content

Commit 751f0e9

Browse files
Update closures.md
1 parent a809fcc commit 751f0e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Closures/closures.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# JavaScript Closures: In-Depth Guide with Examples
2-
The concept of **closures** in JavaScript, using the code examples from `closures.js`.
2+
A closure is a function that has access to the parent scope, even after the parent function has closed.
3+
A closure is formed when a function remembers the variables fro its lexical scope even when the function is executed outside its lexical scope.
34

45
---
56

0 commit comments

Comments
 (0)