Difference between revisions of "Dollar-underscore"

From FirebugWiki
Jump to: navigation, search
(Created page with "<!-- {{DISPLAYTITLE:$_}} --> <div style="font-style: italic; margin-bottom: 0.8em; padding-left: 1.6em;">The correct title of this article is '''$_'''. It appears incorrectly her...")
 
m (Added categories)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- {{DISPLAYTITLE:$_}} -->
+
{{DISPLAYTITLE:$_}}
<div style="font-style: italic; margin-bottom: 0.8em; padding-left: 1.6em;">The correct title of this article is '''$_'''. It appears incorrectly here because of technical restrictions.</div>
+
 
+
 
This command line variable represents the result of the last evaluated expression in the [[Command Line]].
 
This command line variable represents the result of the last evaluated expression in the [[Command Line]].
  
Line 21: Line 19:
 
* [[$p]]
 
* [[$p]]
 
* [[Command Line API]]
 
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 16: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]