Nils Nils - 6 days ago 6
Javascript Question

Javascript Console: What does `$$` mean?

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?




Edit: OK, i learned, this is not related to jQuery. For the records, what is $$? [duplicate] is not found when searching for
"$"
or
Javascript "$"
on Stackoverflow or on Google. Thats why i asked this question.

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

Comments