aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-23 20:43:59 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-30 10:36:46 +0900
commita169c974892c5b8de38087cdac78378db8127b25 (patch)
treee2d20e0a2fde95c2c9809e7dd277a3a8ff13d96e /files/ja/web/javascript
parentbd8195c22faf233c3f9346e4dbe1e51af064564d (diff)
downloadtranslated-content-a169c974892c5b8de38087cdac78378db8127b25.tar.gz
translated-content-a169c974892c5b8de38087cdac78378db8127b25.tar.bz2
translated-content-a169c974892c5b8de38087cdac78378db8127b25.zip
2022/01/19 時点の英語版に同期
Diffstat (limited to 'files/ja/web/javascript')
-rw-r--r--files/ja/web/javascript/reference/global_objects/promise/allsettled/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/promise/allsettled/index.md b/files/ja/web/javascript/reference/global_objects/promise/allsettled/index.md
index e96b5fe08e..41c7336eb8 100644
--- a/files/ja/web/javascript/reference/global_objects/promise/allsettled/index.md
+++ b/files/ja/web/javascript/reference/global_objects/promise/allsettled/index.md
@@ -5,10 +5,10 @@ tags:
- JavaScript
- メソッド
- プロミス
- - Reference
+ - リファレンス
- allSettled
- 非同期
- - Polyfill
+ - ポリフィル
browser-compat: javascript.builtins.Promise.allSettled
translation_of: Web/JavaScript/Reference/Global_Objects/Promise/allSettled
---
@@ -46,6 +46,7 @@ Promise.allSettled(iterable);
### Promise.allSettled の使用
#### {{JSxRef("Promise.then", "Promise.prototype.then()")}}
+
```js
Promise.allSettled([
Promise.resolve(33),
@@ -64,6 +65,7 @@ Promise.allSettled([
```
#### {{jsxref("Operators/await", "await")}}
+
```js
const values = await Promise.allSettled([
Promise.resolve(33),