DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+4 =
Submit