0

Can someone please explain to me, because I don't understand something here, why the same array has two lengths? I assume I understand something wrong here, it must have the same length, right?
I have this call:

    console.log(eventsBeforeRender);
console.log(eventsBeforeRender.length);

and in browser console i see this: enter image description here

What I want to achieve, is to access the element [0] of the root array, so then from this element I can access other elements, of which from what I see there should be 17. Calling this:

console.log(eventsBeforeRender[0]);

returns undefined.

augenss
  • 71
  • 10

0 Answers0