1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 03:02:21 +00:00

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

This commit is contained in:
ruanyf 2017-03-06 17:25:55 +08:00
commit 05b41ce255

View File

@ -165,9 +165,8 @@ class RangeIterator {
if (value < this.stop) { if (value < this.stop) {
this.value++; this.value++;
return {done: false, value: value}; return {done: false, value: value};
} else {
return {done: true, value: undefined};
} }
return {done: true, value: undefined};
} }
} }