From a169c974892c5b8de38087cdac78378db8127b25 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 23 Jan 2022 20:43:59 +0900 Subject: 2022/01/19 時点の英語版に同期 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../javascript/reference/global_objects/promise/allsettled/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'files/ja/web/javascript') 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), -- cgit v1.2.3-54-g00ecf