I am having trouble with passing a parameter : <p>I have stored the (num1) and (num2) vairables earlier and i am trying to display the results in a prompt box after but cant get it too work, i have only started learning javascript and help would be appreciated </p>

<pre><code> function calculateNums = (num1 + num2);
                numResult(calculateNums);

            alert("The sum of " +numResult);
</code></pre>
