Skip to content Skip to sidebar Skip to footer
Showing posts with the label Iife

Why Do You Need To Invoke An Anonymous Function On The Same Line?

I was reading some posts about closures and saw this everywhere, but there is no clear explanation … Read more Why Do You Need To Invoke An Anonymous Function On The Same Line?

Manually Invoke Iife

I've got a library (Hubspot Odometer) which I am using in a web application I am developing and… Read more Manually Invoke Iife

What Are The Different Ways Of Writing An Iife? What Are Their Use Cases?

I have started reading this book. Chapter 2 says that there are different ways to write an IIFE: !f… Read more What Are The Different Ways Of Writing An Iife? What Are Their Use Cases?

How To Create Multiple Instances Of IIFE Javascript Module?

I'm dealing with a huge javascript codebase that I'm trying to reorganize. I'm not real… Read more How To Create Multiple Instances Of IIFE Javascript Module?