intermediate javascript: assign a function with its parameter to a variable and execute later
<p>I have a function in javascript:</p>

<pre><code>function alertMe($a)
{
   alert($a);
}
</code></pre>

<p>Which I can execute like this: alertMe("Hello");</p>

<p>I want to do is assign alertMe("Hello") with the "Hello" parameter to a variable $func,
and be able to execute this later by doing something like $func();</p>
