IIFE: Immediately Invoked Function Expression
ฝัง
- เผยแพร่เมื่อ 15 ต.ค. 2024
- IIFE stands for Immediately Invoked Function Expression. When we create a normal function, it does not get executed on its own. We have call the function by its name to execute it.
The IIFE is a function which is defined as a function expression and executed immediately after creation.
In this lecture you will learn What is IIFE and how to create it, its use and advantage.
Thanks for your two videos on IIFE
Why does the 'return 10' statement not work with the IIFE's?
Thank you (≧▽≦)