---
title: "Discussion on \"What are IIFEs in JavaScript?\" | Hashnode"
description: "Discussion on \"What are IIFEs in JavaScript?\". Getting to know about IIFEs, syntax variation and their uses"
url: "https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df"
---

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

Discussion

# [What are IIFEs in JavaScript?](https://nehabadiani.hashnode.dev/what-are-iifes-in-javascript?utm_source=hashnode&utm_medium=feed)

Getting to know about IIFEs, syntax variation and their uses

Jun 15, 2021 · 4 min read · nehabadiani.hashnode.dev  
Read the article

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

## Written by

[Neha Badiani](https://hashnode.com/@nehabadiani)

@nehabadiani · Gujarat, India

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

Frontend Developer

Hello, I'm Neha Badiani from Gujarat, India. I'm a computer science undergrad with interest in developing cool things that solve problems!

## Responses 3

Markdown supported · ⌘↵ to post

[Caleb Mabry](https://hashnode.com/@Caleb-mabry)

[Jun 16, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c9817180c5541363dd2f4c)

So much information in this. Awesome! I did know about IFFE but didn't recognize the acronym. It's also cool to see all of the different ways you can create them! Great article!

[Neha Badiani](https://hashnode.com/@nehabadiani)

[Jun 16, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c9817180c5541363dd2f4c#reply-60c9856e148304124fdd1688)

thank you! glad you learnt something new from this :)

[Harshit Rathi](https://hashnode.com/@har6451)

[Jun 15, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c8bd51bbd8c506819afa74)

Perfectly Explained !!

[Neha Badiani](https://hashnode.com/@nehabadiani)

[Jun 16, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c8bd51bbd8c506819afa74#reply-60c9853980c5541363dd2f9c)

thank you, glad you could understand!

[yagna](https://hashnode.com/@dadbodshuffl)

[Jun 15, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c89824590a5c0656566362)

Really Good!

[Neha Badiani](https://hashnode.com/@nehabadiani)

[Jun 16, 2021](https://hashnode.com/posts/what-are-iifes-in-javascript/60c88c65bbd8c506819af5df/comment/60c89824590a5c0656566362#reply-60c98524148304124fdd1671)

thank you!
