title: Array length undefined
body: <p>I'm trying to get the length of a multidimensional Array as follows, but when I test it with <code>alert()</code> I get undefined. I would like to know how many items has the parent array (myArray), as I would like then to use it in a cycle <code>i=0;i&lt;myArray.length;i++</code>.</p>
  
  <p>Any ideas?</p>
  
  <pre><code>myArray = array = {
          'def':array = {
              "first":"value",
          },
          0 : array = {
              "T":"Some text",
          },
          1 : array = {
              "T":"Some text",
          },
  };
  
  leng = myArray.length;
  alert(leng);
  </code></pre>