---
title: "Discussion on \"Closures in JavaScript\" | Hashnode"
description: "Discussion on \"Closures in JavaScript\". The closure is the feature in JavaScript in which an inner function from the outer function has access to all the variables and parameters in the parent scope.\nBefore knowing about closures, we should know what exactly the lexical scope in javascript..."
url: "https://hashnode.com/posts/closures-in-javascript/648ee76685476e6ef65452db"
---

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

Discussion

# [Closures in JavaScript](https://chandrakalap.hashnode.dev/closures-in-javascript?utm_source=hashnode&utm_medium=feed)

The closure is the feature in JavaScript in which an inner function from the outer function has access to all the variables and parameters in the parent scope. Before knowing about closures, we should know what exactly the lexical scope in javascript...

Jun 18, 2023 · 2 min read · chandrakalap.hashnode.dev  
Updated Jun 22, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#closure](https://hashnode.com/tag/closure)
-   [#functions](https://hashnode.com/tag/functions)

## Written by

[Chandrakala P](https://hashnode.com/@chandrakalap)

@chandrakalap · India

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

MERN Stack Developer

MERN stack developer passionate about technology and coding. Seeking opportunity to collaborate with developers working on challenging projects. I love to teach what I learn so I'm also a tech blogger. :-)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
