Submit

Back to the knowledge base

iife

By jottinger · · 311 lookups

Text
iife is a JavaScript pattern, Immediately Invoked Function Expression: a function defined and called at once, (function(){ ... })(), to get a private scope. Bundlers emit it to wrap code behind one global.
URLs
https://developer.mozilla.org/en-US/docs/Glossary/IIFE
Tags
javascript terminology

to change this factoid.

Search posts