1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-29 05:42:20 +00:00
修改异步编程接口一个对象名称错误
This commit is contained in:
MRLuowen 2017-01-03 18:34:09 +08:00 committed by GitHub
parent 53ed0a0a3b
commit 884c008313

View File

@ -1357,7 +1357,7 @@ asyncIterator
```javascript
const asyncIterable = createAsyncIterable(['a', 'b']);
const asyncIterator = someCollection[Symbol.asyncIterator]();
const asyncIterator = asyncIterable[Symbol.asyncIterator]();
asyncIterator
.next()