Merge pull request #1367 from fires3as0n/patch-1

Fixed a typo in "Async iterators and generators"
This commit is contained in:
Ilya Kantor 2019-09-22 11:22:36 +03:00 committed by GitHub
commit 2b5c97528c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ let range = {
[Symbol.iterator]() {
*/!*
// ...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()
return {
current: this.from,