Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf
2016-07-12 08:56:21 +08:00
+1 -1
View File
@@ -309,7 +309,7 @@ genObj.next('b')
## for...of循环
`for...of`循环可以自动遍历Generator函数,且此时不再需要调用`next`方法。
`for...of`循环可以自动遍历调用Generator函数时生成的Iterator对象,且此时不再需要调用`next`方法。
```javascript
function *foo() {