What will this function return? An empty Array or Array of Objects
<pre><code>var rowData = [];

function someName() {
    JsonClient.onload = function () {
        rowData.push("sasas");
        rowData.push("sasas1");
        rowData.push("sasas2");
        rowData.push("sasas3");
    };

    return rowData;
}
</code></pre>

<p>This returns me an empty rowData. Why?</p>

<p><strong>Guys it was an typo mistake by me while posting</strong></p>
