---
title: "Discussion on \"Closures in JavaScript\" | Hashnode"
description: "Discussion on \"Closures in JavaScript\". The closure is a collection of functions with a lexical environment.\nMeaning of Lexical Environment/ Scoping\nThe scope has the ability of function scope to access the variables from the parent scope.\nHere have some examples:\nFirst example:\nlet a = 10..."
url: "https://hashnode.com/posts/closures-in-javascript/6468b09ccd2727d8bca35d5e"
---

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

Discussion

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

The closure is a collection of functions with a lexical environment. Meaning of Lexical Environment/ Scoping The scope has the ability of function scope to access the variables from the parent scope. Here have some examples: First example: let a = 10...

May 20, 2023 · 1 min read · blessie-blog.hashnode.dev  
Updated May 23, 2023  
Read the article

## Written by

[blessie y](https://hashnode.com/@7022315721)

@7022315721

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
