Chrome DevTools - inconsistent array length Chrome DevTools - inconsistent array length google-chrome google-chrome

Chrome DevTools - inconsistent array length


This is because the initial display, the one with this format:

Object {Body: Array[20], Head: Array[1]}

Is generated when the console first logs it. After expanding, it loads all of the object's properties, and if the properties have changed in between logging it and opening it, it will show different values.

You can hover over the light-blue i that shows behind the object to see what Chrome says about this itself.