Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript Immediately Invoked Function Expression

result = (function(a, b){
    return a - b;
})(100, 42);

console.log(result); // 58
 
PREVIOUS NEXT
Tagged: #javascript #Immediately #Invoked #Function #Expression
ADD COMMENT
Topic
Name
9+2 =