Skip to content

Commit 9bb6496

Browse files
authored
minor fix
1 parent c28ff1b commit 9bb6496

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/12-generators-iterators/2-async-iterators-generators

1-js/12-generators-iterators/2-async-iterators-generators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ async function* fetchCommits(repo) {
346346
347347
Async iterator 与常规 iterator 在语法上的区别:
348348
349-
| | Iterator | Async iterator |
349+
| | Iterable | Async Iterable |
350350
|-------|-----------|-----------------|
351351
| 提供 iterator 的对象方法 | `Symbol.iterator` | `Symbol.asyncIterator` |
352352
| `next()` 返回的值是 | `{value:…, done: true/false}` | resolve 成 `{value:…, done: true/false}` 的 `Promise` |

0 commit comments

Comments
 (0)