|
|
|
|
|
by amatecha
1860 days ago
|
|
Here's a really obscure one which I've never heard anyone mention, except the first time I heard about it: 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.