Passing variables values
<p>here is the simple script:</p>

<pre><code>function parentFunc() {
    var x = 15;
    process(x);
}

parentFunc();

function process(x) {
    alert(x);
}​
</code></pre>

<p>Now when the page loads, <code>parentFunc()</code> is being executed which calls <code>process()</code> function along with sending the paramter to it; Is there any way to make it so that when <code>parentFunc()</code> is called it just sends the parameters to <code>process()</code> function without executing it? I need a solution without global variables.</p>
