Javascript array results returning undefined
<p>I have been working on a simple math game and am having problems getting the overall answer results to return after the end of the game.</p>

<p>Here is what my return function looks like</p>

<pre><code>    function pShowResults() {
    var pNumResults = document.getElementById("results");
    for (var i = 0; i &lt;= 10; i++) {
        pNumStore.push(pNumGuess[i]);
        var pNumTable = document.createElement("div");
        pNumTable.innerHTML = (pNumGuess[i]);
        pNumResults.appendChild(pNumTable);
    }
    }
</code></pre>

<p><a href="http://jsfiddle.net/brettlewis/dwdX9/" rel="nofollow">Here is the full script</a></p>

<p>Pretty much need debugging help. I new to this so I'm guessing there is a ton that's off, but as long as I can get the results fed back I should be fine.</p>
