Immediate Invoking Function Expression
This demo shows you how self-invoking (aka immediate invoking) functions work in JavaScript.
by queryj
HTML
<p>
JavaScript
(function(){
$('p').html("No one called this function. I called myself.");
})();