Difference between revisions of "Dollar-underscore"

From FirebugWiki
Jump to: navigation, search
m
m (Added categories)
 
Line 19: Line 19:
 
* [[$p]]
 
* [[$p]]
 
* [[Command Line API]]
 
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 17:02, 21 November 2013

This command line variable represents the result of the last evaluated expression in the Command Line.

Syntax[edit]

$_

Example[edit]

>>> document.body
<body>
>>> $_.firstChild
<TextNode textContent="\n">

See also[edit]