---
title: "Discussion on \"Everything about Closures in JavaScript\" | Hashnode"
description: "Discussion on \"Everything about Closures in JavaScript\". If you ever wrote a program in JavaScript, it's 99% likely that you came across closure. You might have used closure, but still might not know what was closure. \nCoding in JavaScript without an understanding of closures is like trying to speak Englis..."
url: "https://hashnode.com/posts/everything-about-closures-in-javascript/60c873a9590a5c0656565fc7"
---

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

Discussion

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

If you ever wrote a program in JavaScript, it's 99% likely that you came across closure. You might have used closure, but still might not know what was closure. Coding in JavaScript without an understanding of closures is like trying to speak Englis...

Jun 15, 2021 · 3 min read · kumarshivam.hashnode.dev  
Updated Jul 8, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)
-   [#closure](https://hashnode.com/tag/closure)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)

## Written by

[Kumar Shivam](https://hashnode.com/@kshivam99)

@kshivam99 · India

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

MERN | JamStack

I am a React Developer. I spend my days thinking about ideas and my night coding them.

## Responses 2

Markdown supported · ⌘↵ to post

[Neha Badiani](https://hashnode.com/@nehabadiani)

[Jun 15, 2021](https://hashnode.com/posts/everything-about-closures-in-javascript/60c873a9590a5c0656565fc7/comment/60c8c6bdbbd8c506819afb67)

That was well explained!

[Aarushi Shanker](https://hashnode.com/@aarushi31)

[Jun 15, 2021](https://hashnode.com/posts/everything-about-closures-in-javascript/60c873a9590a5c0656565fc7/comment/60c879ad590a5c06565660c2)

This was really insightful!

[Kumar Shivam](https://hashnode.com/@kshivam99)

[Jun 15, 2021](https://hashnode.com/posts/everything-about-closures-in-javascript/60c873a9590a5c0656565fc7/comment/60c879ad590a5c06565660c2#reply-60c8832d590a5c06565661a1)

Glad you found it helpful!!
