Nils Nils - 12 days ago 5
jQuery Question

jQuery: `$` and friends

When i type

$
into the javascript console of an HTML document which includes the jQuery Library, the autocompleter gives the following variables:
$
(thats clear to me, it transforms something into its jQuery equivalent)
$x
,
$u
,
$_
,
$0
,
$$
. The jQuery API gives no results when i search for these variables. They do not even seem to be contained in jquery.js. Do these variables have any relevant meaning?

Answer

these are special functions available from the Chrome Command Line, for example;

https://developers.google.com/web/tools/chrome-devtools/console/command-line-reference