Dollar-underscore

From FirebugWiki
Revision as of 15:39, 14 June 2013 by Simon.lindholm10 (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The correct title of this article is $_. It appears incorrectly here because of technical restrictions.

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