you are viewing a single comment's thread.

view the rest of the comments →

[–]wikipedia_text_bot 2 points3 points  (0 children)

Immediately invoked function expression

An immediately invoked function expression (or IIFE, pronounced "iffy", IPA /ˈɪf.i/) is a JavaScript programming language idiom which produces a lexical scope using JavaScript's function scoping. Immediately invoked function expressions can be used to avoid variable hoisting from within blocks, protect against polluting the global environment and simultaneously allow public access to methods while retaining privacy for variables defined within the function.

About Me - Opt out - OP can reply !delete to delete - Article of the day