---
title: "Discussion on \"Closures for Noobs\" | Hashnode"
description: "Discussion on \"Closures for Noobs\". What is Closure and how it works in JavaScript and the Pros and Cons of using them."
url: "https://hashnode.com/posts/closures-for-noobs/60bf5db4fffc4c13b9cdad03"
---

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

Discussion

# [Closures for Noobs](https://rawheatg.hashnode.dev/closures-for-noobs?utm_source=hashnode&utm_medium=feed)

What is Closure and how it works in JavaScript and the Pros and Cons of using them.

Jun 8, 2021 · 4 min read · rawheatg.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#closure](https://hashnode.com/tag/closure)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Rohit Gulati](https://hashnode.com/@RawHeatG)

@RawHeatG · Bangalore, India

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

Just a guy trying to centre a <div>

I love talking about anything under the umbrella of React, Start-Ups, Psycology, !CSS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
