What Is $0 In Google Chrome Developer Tools?

Daily post #9 – If you right click on this page and click inspect element, you’ll notice a $0 symbol next to the element which is currently selected. Here’s a screenshot for reference –

So what is it and what it really does? I haven’t explored it enough but based on what I learned it helps us as a reference point. To understand what this means, you have to click on the console tab in developer tools (or simply press CMD+OPT+J on Mac).

Once you’re in the browser/javascript console, type in $0 and hit enter. This is what you’ll see –

That’s pretty much what it does! (afaik at this point) 🙂