mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
617 B
617 B
IIFEs
An IIFE (Immediately Invoked Function Expression) is a function that is defined and called at the same time. It is written as (function() { ... })() or (() => { ... })(). IIFEs are used to create a private scope, avoiding polluting the global namespace, and were common before ES6 modules.
Visit the following resources to learn more: