I was debugging the code, looking for an something changing the array order, and I ran into this strange behavior which I am trying to understand.
My console.log: