DevTools tips — day 1: the console dollars

An advent calendar for front-end developers

Over the 24 days leading to the holidays I will be publishing short articles with tips on how to use DevTools in more performant and fun way. Let’s get to it then!

1. $0

$0 is a reference to the currently selected html node in the Elements pane.

Also, $1 is the one selected previously, $2 the one before that, etc. up to the number $4 .