aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/javascript')
-rw-r--r--files/ja/web/javascript/reference/statements/for-await...of/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/statements/for-await...of/index.html b/files/ja/web/javascript/reference/statements/for-await...of/index.html
index e4a4f901e8..6f0739cd12 100644
--- a/files/ja/web/javascript/reference/statements/for-await...of/index.html
+++ b/files/ja/web/javascript/reference/statements/for-await...of/index.html
@@ -158,7 +158,7 @@ for (let numOrPromise of generator()) {
// 4
</pre>
-<div></div>
+
<div class="blockIndicator note">
<p><strong>注</strong>: 同期のジェネレーターから拒否されたプロミスが生み出される場合があることに注意してください。このような場合、 <code>for await...of</code> は拒否されたプロミスを消費するので、ジェネレーター内の <code>finally</code> ブロックが呼び出されません。これは、確保したリソースを <code>try/finally</code> で解放する必要がある場合は望ましくない動作になる可能性があります。</p>