Why is the length of the array 4 when js console comes out, but 8 when it is clicked on?

clipboard.png
console comes out this kind of data.
the above data is returned in the background, but the length of the array becomes 8

after clicking.
Mar.03,2021

just interpret the result of console as lazy evaluation. Console initially presents only the status of the print time


it's interesting to try. Console.log records the status of the print point, but the value taken when clicked on is the current value, resulting in numerical inconsistencies.

Menu