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.
It is a Self Executing Anonymous Function, or Immediately Invoked Function Expression (IIFE), as others also answered.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With