title: Array length of an Array not displaying in console
body: <p>I have created an Array in typescript and can console.log the Array. See below
  However, when I try to iterate over it I only get &quot;undefined&quot;.</p>
  <p><strong>I cant even find the nearbyCollection.length which returns 0</strong></p>
  <p><a href="https://i.stack.imgur.com/yXd6u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yXd6u.png" alt="Console.log of nearbyCollection array" /></a></p>
  <p>The array (shortened for clarity) is below</p>
  <pre><code>nearbyCollection = [
      {
          &quot;id&quot;: 3400,
          &quot;name&quot;: &quot; &quot;
      },
      {
          &quot;id&quot;: 97610,
          &quot;name&quot;: &quot; &quot;
      },
      {
          &quot;id&quot;: 97614,
          &quot;name&quot;: &quot;410 PALM AVE UNIT A&quot;
      },
      {
          &quot;id&quot;: 3400,
          &quot;name&quot;: &quot; &quot;
      },
      {
          &quot;id&quot;: 1140,
          &quot;name&quot;: &quot;410 PALM AVE UNIT B&quot;
      }
  ]
  </code></pre>