Skip to content

Commit ec830de

Browse files
committed
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
2 parents 18b98ed + e2fe052 commit ec830de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/generator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ genObj.next('b')
309309
310310
## for...of循环
311311
312-
`for...of`循环可以自动遍历Generator函数,且此时不再需要调用`next`方法。
312+
`for...of`循环可以自动遍历调用Generator函数时生成的Iterator对象,且此时不再需要调用`next`方法。
313313
314314
```javascript
315315
function *foo() {

0 commit comments

Comments
 (0)