Difference between revisions of "Dollar-underscore"

From FirebugWiki
Jump to: navigation, search
(Set DISPLAYTITLE to $_)
m
Line 1: Line 1:
 
{{DISPLAYTITLE:$_}}
 
{{DISPLAYTITLE:$_}}
 
 
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]].
  

Revision as of 04:45, 21 June 2013

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

Syntax

$_

Example

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

See also