3 ms·
This is because the object is dumped as a whole. If you could halt the browser directly after the console.log, you'd see your expected output. Then execution co
by firebaze 3y ago
This is because the object is dumped as a whole. If you could halt the browser directly after the console.log, you'd see your expected output. Then execution continues, the content gets mutated and the browser refreshes its object view with the current contents.