Merge pull request #1367 from fires3as0n/patch-1
Fixed a typo in "Async iterators and generators"
This commit is contained in:
commit
2b5c97528c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ let range = {
|
||||||
[Symbol.iterator]() {
|
[Symbol.iterator]() {
|
||||||
*/!*
|
*/!*
|
||||||
// ...it returns the iterator object:
|
// ...it returns the iterator object:
|
||||||
// onward, for await..of works only with that object,
|
// onward, for..of works only with that object,
|
||||||
// asking it for next values using next()
|
// asking it for next values using next()
|
||||||
return {
|
return {
|
||||||
current: this.from,
|
current: this.from,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue