---
title: "Discussion on \"Seriously though, WHAT ON EARTH is closure?!\" | Hashnode"
description: "Discussion on \"Seriously though, WHAT ON EARTH is closure?!\". Closure: it's not only what you need when a relationship ends, it's also something you need to understand when coding in JavaScript. Unfortunately, it can be a tough thing to explain to those new to programming, and since I only recently feel like cl..."
url: "https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8"
---

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

Discussion

# [Seriously though, WHAT ON EARTH is closure?!](https://blog.annamcdougall.com/seriously-though-what-on-earth-is-closure?utm_source=hashnode&utm_medium=feed)

Closure: it's not only what you need when a relationship ends, it's also something you need to understand when coding in JavaScript. Unfortunately, it can be a tough thing to explain to those new to programming, and since I only recently feel like cl...

Oct 12, 2020 · 5 min read · blog.annamcdougall.com  
Read the article

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

## Written by

[Anna J McDougall](https://hashnode.com/@AnnaJMcDougall)

@AnnaJMcDougall · Leipzig, Germany

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

Full-stack Developer

## Responses 5

Markdown supported · ⌘↵ to post

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Oct 19, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f8d81dad58df13bb2917304)

Very informative and insightful. Thanks for sharing [Anna J McDougall](https://hashnode.com/@AnnaJMcDougall).

[Anna J McDougall](https://hashnode.com/@AnnaJMcDougall)

[Oct 20, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f8d81dad58df13bb2917304#reply-5f8f038503022e45ade4aa97)

You're welcome!

[Braydon Coyer](https://hashnode.com/@braydoncoyer)

[Oct 13, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f85d2b876870f43aa09cd99)

Great article - very informative. Thanks for sharing!

[Anna J McDougall](https://hashnode.com/@AnnaJMcDougall)

[Oct 20, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f85d2b876870f43aa09cd99#reply-5f8f038f03022e45ade4aa9b)

You're welcome, glad you enjoyed it!

[Nextwebb](https://hashnode.com/@nextwebb)

[Oct 13, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f85caaf76870f43aa09cd65)

> it's not only what you need when a relationship ends, but it's also something you need to understand when coding in JavaScript :)

I just love when writers can relate code concepts to reality. good one 👍

[Anna J McDougall](https://hashnode.com/@AnnaJMcDougall)

[Oct 20, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f85caaf76870f43aa09cd65#reply-5f8f039c03022e45ade4aa9f)

Haha I couldn't help myself, truth be told!

[Luiz Filipe da Silva](https://hashnode.com/@luizfilipezs)

[Oct 13, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f8593b3f404474096c5b460)

Great explanation for beginners. Thanks for sharing!

[Anna J McDougall](https://hashnode.com/@AnnaJMcDougall)

[Oct 20, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f8593b3f404474096c5b460#reply-5f8f03b603022e45ade4aaa3)

Thank you, I'm only intermediate myself so I'm trying to pass it all along as simply as possible.

[Favourite Jome](https://hashnode.com/@Favourite)

[Oct 12, 2020](https://hashnode.com/posts/seriously-though-what-on-earth-is-closure/5f845b3794b1323900e0d5c8/comment/5f846e9d6ad92638db493ec9)

I knew about Closure recently, now I know there is a difference between Closure and A closure. Thanks for sharing.
