- Published on
TIL: You can use `$` inside the browser query console
The $
symbol can be used as a shorthand for document.querySelector
in the browser's developer console.
There's also $$
for document.querySelectorAll
, copy(object)
to copy to clipboard, keys
, values
, etc.
Source: HN comment for Stimulation Clicker.