+ 12
in JavaScript what is the meaning of "IIFE" 😉
In javascript there are three kind of function i. regular function expression ii.anonymous function expression iii.IIFE
1 Réponse
+ 11
Immediately Invoked Function Expression.
The function is called as soon as it's defined.
E.g:
var my_var = (function (x, y, z) {
return x + y - z
})(1, 3, 2);