Jquery handle global variable
<p>I am having problem with the following code :</p>

<pre><code>var pageviews = [
    [1, 0]
];            

$.get("http://bla..bla",
     function(res){
       pageviews.push([2, res.value]);
     }, "json"); 
</code></pre>

<p>I've checked the pageviews variable but the array is not updated. I can see the "res.value" on my console. So what is the problem?</p>
