aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web')
-rw-r--r--files/ja/web/api/document/getselection/index.html (renamed from files/ja/web/api/documentorshadowroot/getselection/index.html)3
-rw-r--r--files/ja/web/javascript/reference/statements/switch/index.html4
2 files changed, 3 insertions, 4 deletions
diff --git a/files/ja/web/api/documentorshadowroot/getselection/index.html b/files/ja/web/api/document/getselection/index.html
index e201ed0675..81fc970c85 100644
--- a/files/ja/web/api/documentorshadowroot/getselection/index.html
+++ b/files/ja/web/api/document/getselection/index.html
@@ -1,6 +1,6 @@
---
title: DocumentOrShadowRoot.getSelection()
-slug: Web/API/DocumentOrShadowRoot/getSelection
+slug: Web/API/Document/getSelection
tags:
- API
- DocumentOrShadowRoot
@@ -12,6 +12,7 @@ tags:
- getSelection()
- shadow dom
translation_of: Web/API/DocumentOrShadowRoot/getSelection
+original_slug: Web/API/DocumentOrShadowRoot/getSelection
---
<div>{{APIRef("DOM")}}{{SeeCompatTable}}</div>
diff --git a/files/ja/web/javascript/reference/statements/switch/index.html b/files/ja/web/javascript/reference/statements/switch/index.html
index 91960fb4ca..9d2d33b627 100644
--- a/files/ja/web/javascript/reference/statements/switch/index.html
+++ b/files/ja/web/javascript/reference/statements/switch/index.html
@@ -86,9 +86,7 @@ console.log("Is there anything else you'd like?");
<h3 id="What_happens_if_I_forgot_a_break" name="What_happens_if_I_forgot_a_break"><code>break</code> を置かないとどうなるか</h3>
-<p><code>break</code> を置かな買った場合、スクリプトは基準を満たす <code>case</code> から実行され、その後の <code>case</code> も</p>
-
-<p>条件に合うかに関係なく実行されます。</p>
+<p><code>break</code> を置かなかった場合、スクリプトは基準を満たす <code>case</code> から実行され、その後の <code>case</code> も条件に合うかに関係なく実行されます。</p>
<p>こちらの例をご覧ください。</p>