Syntax for executing a returned function
<p>If I return a function from a function as shown below, how do I execute it and set the parameter?</p>

<pre><code>var func1 = function(param){
    // do stuff
};

function returnFunction(){
    return func1;
}

returnFunction() // this will return func1 but I want to execute it with certain param.
</code></pre>
