---
title: "Discussion on \"What is a Closure in JavaScript?\" | Hashnode"
description: "Discussion on \"What is a Closure in JavaScript?\". If you've been developing in JavaScript for any period of time you would have come across the term closure. But what does that mean in practical terms? \nLet dig into it.\nClosure put simply\nIn simple terms a closure is when a function accesses a varia..."
url: "https://hashnode.com/posts/what-is-a-closure-in-javascript/63449ac181d924a1a723aaaf"
---

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

Discussion

# [What is a Closure in JavaScript?](https://simplifyingcode.com/what-is-a-closure-in-javascript?utm_source=hashnode&utm_medium=feed)

If you've been developing in JavaScript for any period of time you would have come across the term closure. But what does that mean in practical terms? Let dig into it. Closure put simply In simple terms a closure is when a function accesses a varia...

Oct 10, 2022 · 2 min read · simplifyingcode.com  
Updated Oct 25, 2022  
Read the article

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

## Written by

[Michael Asaad](https://hashnode.com/@ma268)

@ma268 · London

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

Full-Stack .Net React Developer

I’m Michael Asaad A self taught software developer of over 10 years and founder of #SimplifyingCode. I started my career in pharmacy but soon realised my passion was software development. If you are like me and are starting without any coding knowledge, it can be daunting. Over time, and with a lot of trial and error, you can discover how to make your transition into software development a success! SimplifyingCode aims to break these barriers to entry and make software development accessible for all. Head over to the blog section and start your coding journey today! Oh, and don't forget your free copy of "How to start your career as a software developer without a Computer Science degree".

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
