Como chamar uma função no JS JavaScript

(function(){    // some private code that will be executed automatically})
Nasty Narwhal