title: Cannot access array elements in javascript
body: <p>I need to go through an array of objects in javascript but no for, forEach loop, of filter function would recognize the array elements. Array length shows as 0. When I log the array variable in Chrome, it does contain in some way the elements I need to go through though and the array length shows as the correct one (6).</p>
  
  <p><a href="https://i.stack.imgur.com/TnP16.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TnP16.png" alt="Console logging in Chrome"></a></p>
  
  <p>Any ideas how I can loop through these Drupal.Ajax elements?</p>