docs: perfect title

This commit is contained in:
thinkasany
2023-08-30 09:55:33 +08:00
parent b106d73e73
commit eb98251300

View File

@@ -44,7 +44,7 @@ async function fn(): Promise<number> {
}
```
## `Iterable<>`
## `Iterable<T>`
对象只要部署了 Iterator 接口,就可以用`for...of`循环遍历。Generator 函数(生成器)返回的就是一个具有 Iterator 接口的对象。