Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b73c2a4

Browse files
typo
1 parent 5f04058 commit b73c2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎1-js/11-async/05-promise-api/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ There are 5 static methods of `Promise` class:
302302
- `status`: `"fulfilled"` or `"rejected"`
303303
- `value` (if fulfilled) or `reason` (if rejected).
304304
3. `Promise.race(promises)` -- waits for the first promise to settle, and its result/error becomes the outcome.
305-
4. `Promise.any(promises)` -- waits for the first promise to fulfill, and its result becomes the outcome.If all of the given promises rejects, it becomes the error of `Promise.any`.
305+
4. `Promise.any(promises)` -- waits for the first promise to fulfill, and its result becomes the outcome.If all of the given promises rejects, it becomes the error of `Promise.any`.
306306
5. `Promise.resolve(value)` -- makes a resolved promise with the given value.
307307
6. `Promise.reject(error)` -- makes a rejected promise with the given error.
308308

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /