mirror of
https://github.com/nilbuild/developer-roadmap.git
synced 2026-09-29 16:57:32 +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: