how can I call a JS self-executing function later if I want?
<p>I am trying to write a function that executes immediately but can also be later like:</p>

<pre>
var test = function (e){ console.log('hello'+e); }();
$('#some_element').click(function(e){
    test(' world');
});
</pre>

<p>where in this case, the results I would want would be:</p>

<pre>
helloundefined
hello world
</pre>

<p>I am not grasping why calling test later returns 'test is not a function'.</p>
