This tutorial covers the idea of Immediately Invoked Function Expression.
An IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined.

#javascript

JavaScript Tutorial  - Immediately Invoked Function Expression (IIFE)
2.05 GEEK