5 ms·
No. It means that when you invoke `console.log` in a browser it "logs" a reference to an object instead of serialising it. This log is still synchronous, but w
by MatthewMob 5y ago
No. It means that when you invoke `console.log` in a browser it "logs" a reference to an object instead of serialising it.
This log is still synchronous, but when you expand it in the console its properties are dereferenced and may be different from when the original log was made. The log, however, is still instantaneous and synchronous.
- metafunctor 5y agoOK, agreed. That's an important distinction. The console log will synchronously receive a reference to an object; later if you expand something in the log window it shows you the current state.
- mjbrusso 5y agoI would say the argument is lazy evaluated.