Dica de função auto -invocador

(function(a)
{/*function's code*/
}(“aaaaa”)
/*the second brackets/parentheses (the one with "aaaaa") is actually invoking the function and setting the value of a the parameter*/
Javasper