IMP: improve translation in 1-js/11-async/05-promise-api/article.md#909
Merged
leviding merged 3 commits intojavascript-tutorial:masterfrom Jun 8, 2021
Merged
IMP: improve translation in 1-js/11-async/05-promise-api/article.md#909leviding merged 3 commits intojavascript-tutorial:masterfrom
leviding merged 3 commits intojavascript-tutorial:masterfrom
Conversation
翻译问题
MartinsYong
suggested changes
May 10, 2021
|
Please make the requested changes. After it, add a comment "/done". |
Member
|
@ClaraSchumann @MartinsYong 不小心 commit 了,有空的话麻烦看看我推的这个翻译哈~ |
leviding
reviewed
Jun 7, 2021
|
|
||
| ````smart header="`Promise.all(iterable)` 允许在 `iterable` 中使用 non-promise 的“常规”值" | ||
| 通常,`Promise.all(...)` 接受可迭代对象(iterable)的 promise(大多数情况下是数组)。但是,如果这些对象中的任意一个都不是 promise,那么它将被“按原样”传递给结果数组。 | ||
| 通常,`Promise.all(...)` 接受含有 promise 项的可迭代(iterable)对象作为参数。但是,如果这些对象中的任何一个不是 promise,那么它将被“按原样”传递给结果数组。 |
Member
There was a problem hiding this comment.
英文原文:Normally, Promise.all(...) accepts an iterable (in most cases an array) of promises. But if any of those objects is not a promise, it's passed to the resulting array "as is".
MartinsYong
approved these changes
Jun 8, 2021
leviding
approved these changes
Jun 8, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
翻译问题
目标章节:例如 1-js/01-getting-started/1-intro
当前上游最新 commit:此处填写本项目英文版 https://github.com/javascript-tutorial/en.javascript.info 的最新 commit,例如 b03ca00
本 PR 所做更改如下: