Skip to content

Commit b73c2a4

Browse files
authored
typo
1 parent 5f04058 commit b73c2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/11-async/05-promise-api/article.md

+1-1
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)