Skip to content

Commit 790b487

Browse files
Fixes typo on article and code snippet (#16)
* fix: Typos * Give credit where credit is due! Co-authored-by: Luciano Mammino <lucianomammino@gmail.com>
1 parent dbd06fb commit 790b487

File tree

1 file changed

+4
-4
lines changed
  • src/blog/articles/javascript-async-iterators

1 file changed

+4
-4
lines changed

src/blog/articles/javascript-async-iterators/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function createAsyncCountdown (from, delay = 1000) {
488488
}
489489
```
490490

491-
At this point, our `createAsyncCountdown` is return a valid async iterator, so we can finally use the `for await...of` syntax:
491+
At this point, our `createAsyncCountdown` returns a valid async iterator, so we can finally use the `for await...of` syntax:
492492

493493
```javascript
494494
const countdown = createAsyncCountdown(3)
@@ -718,12 +718,12 @@ This request will respond with a JSON message that looks like this:
718718
{
719719
"name": "Sly Moore",
720720
"height": "178",
721-
"...": "mode fields...",
721+
"...": "more fields...",
722722
},
723723
{
724724
"name": "Another character",
725725
"height": "whatever",
726-
"...": "mode fields...",
726+
"...": "more fields...",
727727
},
728728
{
729729
"...": "more characters"
@@ -785,4 +785,4 @@ CIAO 👋
785785

786786
P.S. All the examples presented in this article are available on GitHub at [lmammino/javascript-iteration-protocols](https://github.com/lmammino/javascript-iteration-protocols).
787787

788-
<small>Thanks to [Mario Casciaro](https://twitter.com/mariocasciaro) for the kind review of this article.</small>
788+
<small>Thanks to [Mario Casciaro](https://twitter.com/mariocasciaro) for the kind review of this article and to [Kelvin Omereshone](https://twitter.com/Dominus_Kelvin) for finding and fixing a few typos.</small>

0 commit comments

Comments
 (0)