From 5bda2fdb53082132005d6c87463b756cc6c95e89 Mon Sep 17 00:00:00 2001 From: zhangbao Date: Tue, 26 Dec 2017 09:03:51 +0800 Subject: [PATCH] docs:Fix typo The type of `value` is number, not string. --- docs/iterator.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/iterator.md b/docs/iterator.md index 60d193d..30c2e55 100644 --- a/docs/iterator.md +++ b/docs/iterator.md @@ -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() {