diff options
Diffstat (limited to 'files/ja/web/javascript/reference/global_objects/promise')
-rw-r--r-- | files/ja/web/javascript/reference/global_objects/promise/catch/index.html | 2 | ||||
-rw-r--r-- | files/ja/web/javascript/reference/global_objects/promise/then/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/promise/catch/index.html b/files/ja/web/javascript/reference/global_objects/promise/catch/index.html index 277bda3b8a..de96865a6e 100644 --- a/files/ja/web/javascript/reference/global_objects/promise/catch/index.html +++ b/files/ja/web/javascript/reference/global_objects/promise/catch/index.html @@ -76,7 +76,7 @@ Promise.resolve().catch(function XXX(){}); <h2 id="Description" name="Description">解説</h2> -<p><code>catch</code> メソッドは複合したプロミスの複合のエラー処理に使用されます。これは {{jsxref("Promise")}} を返しますので、姉妹メソッドである {{jsxref("Promise.then", "then()")}} と同様の方法で<a href="/en-US/docs/Web/JavaScript/Guide/Using_promises#Chaining_after_a_catch">チェーン可能</a>です。</p> +<p><code>catch</code> メソッドは複合したプロミスの複合のエラー処理に使用されます。これは {{jsxref("Promise")}} を返しますので、姉妹メソッドである {{jsxref("Promise.then", "then()")}} と同様の方法で<a href="/ja/docs/Web/JavaScript/Guide/Using_promises#Chaining_after_a_catch">チェーン可能</a>です。</p> <h2 id="Examples" name="Examples">例</h2> diff --git a/files/ja/web/javascript/reference/global_objects/promise/then/index.html b/files/ja/web/javascript/reference/global_objects/promise/then/index.html index f0ad7223d5..8fef7186d4 100644 --- a/files/ja/web/javascript/reference/global_objects/promise/then/index.html +++ b/files/ja/web/javascript/reference/global_objects/promise/then/index.html @@ -197,7 +197,7 @@ p2.then(function(value) { <p>Promise ベースの API を持った関数同士であれば、別の関数上に他の関数を実装することでチェーンを使うこともできます。</p> <pre class="brush: js notranslate">function fetch_current_data() { - // The <a href="/en-US/docs/Web/API/GlobalFetch/fetch">fetch</a>() API returns a Promise. This function + // The <a href="/ja/docs/Web/API/GlobalFetch/fetch">fetch</a>() API returns a Promise. This function // exposes a similar API, except the fulfillment // value of this function's Promise has had more // work done on it. |