---
title: "Discussion on \"Closure in JavaScript\" | Hashnode"
description: "Discussion on \"Closure in JavaScript\". Introduction\nA closure gives you access to an outer/enclosing function’s scope, including the variables from an inner function, even after the execution context of the outer scope has popped off the call stack. The above statement might sound ambiguo..."
url: "https://hashnode.com/posts/closure-in-javascript/63f5305b21d2f91ce2317ca9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Closure in JavaScript](https://devmedic.hashnode.dev/closure-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction A closure gives you access to an outer/enclosing function’s scope, including the variables from an inner function, even after the execution context of the outer scope has popped off the call stack. The above statement might sound ambiguo...

Feb 21, 2023 · 8 min read · devmedic.hashnode.dev  
Read the article

-   [#closures-in-javascript](https://hashnode.com/tag/closures-in-javascript)
-   [#scope-chain](https://hashnode.com/tag/scope-chain)
-   [#execution-context](https://hashnode.com/tag/execution-context)
-   [#scope](https://hashnode.com/tag/scope)

## Written by

[Esther Idabor](https://hashnode.com/@BloomingTechstar)

@BloomingTechstar · Delta State, Nigeria

  
[View profile](https://hashnode.com/@BloomingTechstar)

Frontend development, Technical Writer

As an avid learner who loves to teach and write, I am passionate about technical writing. I write about frontend technologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
