---
title: "Discussion on \"Javascript closure\" | Hashnode"
description: "Discussion on \"Javascript closure\". A closure in programming refers to the ability of a function to \"remember\" the variables in its lexical scope (the environment in which it was created). It's like the function \"closes over\" these variables, retaining access to them even after the out..."
url: "https://hashnode.com/posts/javascript-closure/658c68ada86aedf80c811068"
---

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

Discussion

# [Javascript closure](https://snowcodes.hashnode.dev/javascript-closure?utm_source=hashnode&utm_medium=feed)

A closure in programming refers to the ability of a function to "remember" the variables in its lexical scope (the environment in which it was created). It's like the function "closes over" these variables, retaining access to them even after the out...

Dec 27, 2023 · 1 min read · snowcodes.hashnode.dev  
Read the article

-   [#js-javasript-programming-softwareengineering](https://hashnode.com/tag/js-javasript-programming-softwareengineering)

## Written by

[xharlessnow](https://hashnode.com/@snowcodes)

@snowcodes · NIGERIA

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

Software Engineer

"I am currently a Software Engineering student at ALX. I'm passionate about technology and enjoy conducting research to find answers on my own. I have a natural inclination to ask 'WHY' more often than 'HOW'. "While working on projects at ALX, I have acquired a wealth of interesting and diverse knowledge about software engineering and computer science in general. Therefore, I needed a place to store and save all this information, allowing me to refer back to it whenever I forget."

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
