---
title: "Discussion on \"Unlocking the Power of JavaScript Closures\" | Hashnode"
description: "Discussion on \"Unlocking the Power of JavaScript Closures\". There are many different ways to explain the closure. I hope that the interpretation presented in this blog will be enough to deepen the understanding.\nRetaining a link to variables or methods defined inside the function, after it has already been ex..."
url: "https://hashnode.com/posts/unlocking-the-power-of-javascript-closures/648abf9ec834e3b417c9245c"
---

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

Discussion

# [Unlocking the Power of JavaScript Closures](https://blog.jobins.jp/unlocking-the-power-of-javascript-closures?utm_source=hashnode&utm_medium=feed)

There are many different ways to explain the closure. I hope that the interpretation presented in this blog will be enough to deepen the understanding. Retaining a link to variables or methods defined inside the function, after it has already been ex...

Jun 15, 2023 · 5 min read · blog.jobins.jp  
Read the article

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

## Written by

[Binaya Giri](https://hashnode.com/@BinayaGiri)

@BinayaGiri · Pokhara,Nepal

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

## Responses 1

Markdown supported · ⌘↵ to post

[shuo yang](https://hashnode.com/@longxiakuangmo)

[Jul 24, 2023](https://hashnode.com/posts/unlocking-the-power-of-javascript-closures/648abf9ec834e3b417c9245c/comment/64be49a04d4ccf1030b10864)

Why the new Function() constructor does not create a closure?

IMO: every function in JS is a closure, the function created by new Function() has the global-env as it's outer environment
