---
title: "Discussion on \"How JavaScript Closures and IIFEs Work\" | Hashnode"
description: "Discussion on \"How JavaScript Closures and IIFEs Work\". For the first 100 days of 2021, as part of #100DaysOfCode, I am re-introducing myself to common JavaScript concepts and blogging about them! For this post, I am going to talk about closures and IIFEs and how important they can be in JavaScript progra..."
url: "https://hashnode.com/posts/how-javascript-closures-and-iifes-work/601d82ec1054fa16dadd7e61"
---

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

Discussion

# [How JavaScript Closures and IIFEs Work](https://blog.mydevdiary.net/how-javascript-closures-and-iifes-work?utm_source=hashnode&utm_medium=feed)

For the first 100 days of 2021, as part of #100DaysOfCode, I am re-introducing myself to common JavaScript concepts and blogging about them! For this post, I am going to talk about closures and IIFEs and how important they can be in JavaScript progra...

Feb 5, 2021 · 6 min read · blog.mydevdiary.net  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#closure](https://hashnode.com/tag/closure)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#scope](https://hashnode.com/tag/scope)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Brandon Dusch](https://hashnode.com/@Dusch4593)

@Dusch4593 · Pittsburgh, PA, USA

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

Developer and Writer

I'm a life-long, self-directed learner with a love for libraries, documentation, and all things tech. Currently serving the people at the Carnegie Library of Pittsburgh 📚 Formerly @ Codédex 👾 and Codecademy 🧑🏻‍💻 Extracurriculars (in no particular order): 🧑🏻‍🍳 Cooking 📖 Reading (mostly non-fic of all kinds) 🎸 Listening to/playing music 🎙️ Enjoying awesome podcasts. 🏃🏻 Running, walking, moving in general! :D Thanks for reading!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
