DEV Community

Discussion on: Learn About the Console Object and Become a Console Commander πŸŽ–

Collapse
 
incrementis profile image
Akin C.

Hello Niall Maher,

thank you for the easy to understand explanation of console.
I saw your video and really enjoyed it :).
I often use console.log to check code behavior.
I think console.dir can be useful to check the prototype hierarchy.

The section trace contains terms that look like an identifier (e.g. @ VM4579: 3).
What purpose do they have?

Collapse
 
nialljoemaher profile image
Niall Maher

I haven't thought about that. I'm rarely checking out the prototype hierarchy though.

That @ VM4579: 3
is pointing @ (at) (VM4579) is a clickable reference to the memory where this code is stored and then the final number is the line where it is executed in the stack.