1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

Added description and resources to Closures - JavaScript Roadmap (#1670)

* Added resources to closures

* Added more info and made some grammatic changes.
This commit is contained in:
CodeGuage
2022-09-04 16:28:40 +05:00
committed by GitHub
parent c38f527f06
commit 018c15f862

View File

@@ -1 +1,6 @@
# Closures
# 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.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.codeguage.com/courses/js/functions-closures'>JavaScript Closures - The Simplest Explanation</BadgeLink>