by amatecha · 5y ago · 0 comments
In the JS console:
$0
is a reference to the currently-highlighted element in the DOM Inspector (at least this is the case in Firefox, Chrome and Edge, haven't tried others).Very handy for quickly evaluating or operating on an element you're looking at :)
Also, $1 is the previously selected element, $2 is the one before that, etc.