StackOverflow Questions for Tag: iife

Yarin
Yarin

Reputation: 183989

Help understanding javascript convention

Score: 1

Views: 156

Answers: 3

Read More
Gabi Purcaru
Gabi Purcaru

Reputation: 31574

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: 2617

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

Score: 9

Views: 2206

Answers: 1

Read More
Battery
Battery

Reputation: 397

Understanding obscure JavaScript code

Score: 3

Views: 1310

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: 223

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: 284

Answers: 1

Read More
Ej.
Ej.

Reputation: 5619

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

Score: 534

Views: 248206

Answers: 23

Read More
Ishanki Verma
Ishanki Verma

Reputation: 47

IIFE is not giving any output

Score: 0

Views: 28

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: 8237

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: 575

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: 57

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: 126195

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: 381

Should I use IIFE in useEffect hook?

Score: 9

Views: 5609

Answers: 4

Read More
DEV SL
DEV SL

Reputation: 1

vite build lib iife with react components

Score: 0

Views: 392

Answers: 1

Read More
Livio
Livio

Reputation: 300

JavaScript IIFE functions and variable scope

Score: 2

Views: 323

Answers: 1

Read More
PreviousPage 2Next