StackOverflow Questions for Tag: iife

Gabi Purcaru
Gabi Purcaru

Reputation: 31524

If an IIFE contains just one variable declaration that is immediately exported to global scope, why bother with it?

Score: 5

Views: 182

Answers: 2

Read More
pekaaw
pekaaw

Reputation: 2597

How to compile Svelte 3 components into IIFE's that can be used in vanilla js

Score: 9

Views: 2135

Answers: 1

Read More
Battery
Battery

Reputation: 397

Understanding obscure JavaScript code

Score: 3

Views: 1305

Answers: 5

Read More
khoailang
khoailang

Reputation: 744

What is the javascript snippet below doing

Score: 1

Views: 53

Answers: 1

Read More
Ickhyun Kwon
Ickhyun Kwon

Reputation: 1703

What does this javascript code mean?

Score: 2

Views: 371

Answers: 6

Read More
Matt
Matt

Reputation: 4301

Need help understanding a javascript function

Score: 0

Views: 221

Answers: 5

Read More
xrypt
xrypt

Reputation: 1

IIFE incompatibility with semi-colon JS

Score: 0

Views: 33

Answers: 0

Read More
Bhavesh Kadiya
Bhavesh Kadiya

Reputation: 7

Puppeteer script does nothing in NodeJS

Score: 0

Views: 267

Answers: 1

Read More
Ej.
Ej.

Reputation: 5619

What is the purpose of a self executing function in javascript?

Score: 534

Views: 247310

Answers: 23

Read More
Ishanki Verma
Ishanki Verma

Reputation: 47

IIFE is not giving any output

Score: 0

Views: 27

Answers: 0

Read More
saadullah
saadullah

Reputation: 21

Why can't I access path variable inside IIFE?

Score: 1

Views: 72

Answers: 1

Read More
Pristine Kallio
Pristine Kallio

Reputation: 515

IIFE (Immediately Invoked Function Expression) in PHP?

Score: 26

Views: 8188

Answers: 2

Read More
Malinthaz1991
Malinthaz1991

Reputation: 27

Remove Webpack's IIFE module wrapping to produce a raw JS script bundle file

Score: 0

Views: 542

Answers: 1

Read More
Vinayak Bhandari
Vinayak Bhandari

Reputation: 26

Uncaught TypeError: Cannot read properties of undefined (reading 'getThickness') from lightning chart JS?

Score: 0

Views: 56

Answers: 0

Read More
Andrew Kou
Andrew Kou

Reputation: 7115

What is the purpose of wrapping whole Javascript files in anonymous functions like “(function(){ … })()”?

Score: 644

Views: 126102

Answers: 10

Read More
alstorx
alstorx

Reputation: 111

JavaScript Immediately Invoked Function - Distinguishing Between JavaScript Function Expressions and Declarations

Score: 1

Views: 36

Answers: 0

Read More
AlmaG3st
AlmaG3st

Reputation: 371

Should I use IIFE in useEffect hook?

Score: 8

Views: 5500

Answers: 4

Read More
DEV SL
DEV SL

Reputation: 1

vite build lib iife with react components

Score: 0

Views: 368

Answers: 1

Read More
Livio
Livio

Reputation: 300

JavaScript IIFE functions and variable scope

Score: 2

Views: 317

Answers: 1

Read More
Aleksei Maide
Aleksei Maide

Reputation: 1855

Are all functions inside of an IIFE expressions?

Score: -1

Views: 91

Answers: 1

Read More
PreviousPage 2Next