aboutsummaryrefslogtreecommitdiff
path: root/files/ja/tools/web_console/helpers/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/tools/web_console/helpers/index.html')
-rw-r--r--files/ja/tools/web_console/helpers/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/tools/web_console/helpers/index.html b/files/ja/tools/web_console/helpers/index.html
index a460b6915c..264fd2b032 100644
--- a/files/ja/tools/web_console/helpers/index.html
+++ b/files/ja/tools/web_console/helpers/index.html
@@ -27,7 +27,7 @@ translation_of: Tools/Web_Console/Helpers
<dt id="$_"><code>$_</code></dt>
<dd>コンソールのコマンドラインで最後に実行した式の結果を保持します。例えば "2+2 &lt;enter&gt;" と入力した後に "$_ &lt;enter&gt;" と入力すると、コンソールは 4 と出力します。</dd>
<dt id="$x"><code>$x(xpath, element, resultType)</code></dt>
- <dd><code>element</code> のコンテキストで <a href="/ja/docs/XPath">XPath</a> <code>xpath</code> 式を評価し、一致するノードの配列を返します。 未指定の場合、<code>element</code> のデフォルトは <code>document</code> です。<code>resultType</code>には戻り値の型を指定します。取りうる値は <a href="https://developer.mozilla.org/ja/docs/Web/API/XPathResult#Constants">XPathResult定数</a>か <code>"number"</code>、 <code>"string"</code>、 <code>"bool"</code>、 <code>"node"</code>、 <code>"nodes"</code> のいずれかです。指定されなかった場合、 <code>ANY_TYPE</code> になります。</dd>
+ <dd><code>element</code> のコンテキストで <a href="/ja/docs/XPath">XPath</a> <code>xpath</code> 式を評価し、一致するノードの配列を返します。 未指定の場合、<code>element</code> のデフォルトは <code>document</code> です。<code>resultType</code>には戻り値の型を指定します。取りうる値は <a href="/ja/docs/Web/API/XPathResult#Constants">XPathResult定数</a>か <code>"number"</code>、 <code>"string"</code>、 <code>"bool"</code>、 <code>"node"</code>、 <code>"nodes"</code> のいずれかです。指定されなかった場合、 <code>ANY_TYPE</code> になります。</dd>
<dt id="keys"><code>keys()</code></dt>
<dd>オブジェクトを与えると、そのオブジェクトのキー (またはプロパティ名) の一覧を返します。これは <a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/keys"><code>Object.keys</code></a> のショートカットです。</dd>
<dt id="values"><code>values()</code></dt>