aboutsummaryrefslogtreecommitdiff
path: root/files/ja
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja')
-rw-r--r--files/ja/web/api/domtokenlist/foreach/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/api/domtokenlist/foreach/index.html b/files/ja/web/api/domtokenlist/foreach/index.html
index 02c8c7701f..b1801d1a88 100644
--- a/files/ja/web/api/domtokenlist/foreach/index.html
+++ b/files/ja/web/api/domtokenlist/foreach/index.html
@@ -43,7 +43,7 @@ translation_of: Web/API/DOMTokenList/forEach
<p>{{jsxref('undefined')}}.</p>
-<h2 id="Examples">例</h2>
+<h2 id="Example">例</h2>
<p>次の例では、 {{htmlelement("span")}} 要素に設定されたクラスのリストを <code>DOMTokenList</code> として受け取るのに {{domxref("Element.classList")}} を使用しています。 <code>forEach()</code> を使用して値を含む反復子を取得し、それぞれの値を <code>&lt;span&gt;</code> の {{domxref("Node.textContent")}} に <code>forEach()</code> の中の関数から書き込みます。</p>