1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Merge pull request #567 from baooab/patch-1

docs:Fix typo
This commit is contained in:
Ruan YiFeng 2017-12-26 20:41:17 -06:00 committed by GitHub
commit e534d8bb23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,9 +69,9 @@ function makeIterator(array) {
```javascript
var it = idMaker();
it.next().value // '0'
it.next().value // '1'
it.next().value // '2'
it.next().value // 0
it.next().value // 1
it.next().value // 2
// ...
function idMaker() {