Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

An anonymous function

(function() {
    console.log('Code runs!')
})();

// or

!function() {
  console.log('Code runs!')
}();
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #An #anonymous #function
ADD COMMENT
Topic
Name
6+2 =