docs:Fix typo

The type of `value` is number, not string.
This commit is contained in:
zhangbao
2017-12-26 09:03:51 +08:00
committed by GitHub
parent 488983f6d4
commit 5bda2fdb53
+3 -3
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() {