What is the name of this?

javascript

Solution

It is a Self Executing Anonymous Function, or Immediately Invoked Function Expression (IIFE), as others also answered.

Problem

Possible Duplicate: Explain JavaScript’s encapsulated anonymous function syntax i don't understand completely what this does, so i wanted to look it up in google but I didn't find anything and realized that I don't know its name; so my question is: What is the name of this construction (?) : ``` ( function ( ... ) {} )( jQuery, window, document ); ``` Thanks in advance guys.

Original source

Related problems