title: Query regarding arrays
body: <pre><code>var arr=[1,2,3,[4,5],6,[7,8,9]],x,j;
  for(x in arr)
     for(j in arr[x])
         console.log(arr[x][j]);
  </code></pre>
  
  <p>I want to print 1,2,3,...,9 but the above code prints 4,5,7,8,9.</p>