---
title: "Discussion on \"What is IIFE in JavaScript?\" | Hashnode"
description: "Discussion on \"What is IIFE in JavaScript?\". Privacy is important and IIFEs can be useful to achieve it. While reading many posts about JavaScript interviews I came towards this term so I thought of learning and writing about it.\n\nWhat is it?\nImmediately Invoked Function Expression (IIFE) are b..."
url: "https://hashnode.com/posts/what-is-iife-in-javascript/600e2cc03fdbb74126260289"
---

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

Discussion

# [What is IIFE in JavaScript?](https://rahulism.hashnode.dev/what-is-iife-in-javascript?utm_source=hashnode&utm_medium=feed)

Privacy is important and IIFEs can be useful to achieve it. While reading many posts about JavaScript interviews I came towards this term so I thought of learning and writing about it. What is it? Immediately Invoked Function Expression (IIFE) are b...

Jan 25, 2021 · 3 min read · rahulism.hashnode.dev  
Read the article

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

## Written by

[Rahul](https://hashnode.com/@RAHULISM)

@RAHULISM · India.

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

hustling

19, Hustler.

## Responses 2

Markdown supported · ⌘↵ to post

[Abagail](https://hashnode.com/@Abagail)

[Jan 25, 2021](https://hashnode.com/posts/what-is-iife-in-javascript/600e2cc03fdbb74126260289/comment/600e608e3fdbb74126260522)

Thank you for this article it is very useful [My Prepaid Center](https://www.myprepaidcenter.bid/)

[Bhargav Ponnapalli](https://hashnode.com/@codewithbhargav)

[Jan 25, 2021](https://hashnode.com/posts/what-is-iife-in-javascript/600e2cc03fdbb74126260289/comment/600e362f3b349540feb9f6cd)

Good one [Rahul](https://hashnode.com/@RAHULISM)!

[Rahul](https://hashnode.com/@RAHULISM)

[Jan 25, 2021](https://hashnode.com/posts/what-is-iife-in-javascript/600e2cc03fdbb74126260289/comment/600e362f3b349540feb9f6cd#reply-600e45a13fdbb7412626035f)

Thanksss!
