mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 11:12:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
05b41ce255
@ -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};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user