You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
492
492
493
493
```javascript
494
494
constcountdown=createAsyncCountdown(3)
@@ -718,12 +718,12 @@ This request will respond with a JSON message that looks like this:
718
718
{
719
719
"name": "Sly Moore",
720
720
"height": "178",
721
-
"...": "mode fields...",
721
+
"...": "more fields...",
722
722
},
723
723
{
724
724
"name": "Another character",
725
725
"height": "whatever",
726
-
"...": "mode fields...",
726
+
"...": "more fields...",
727
727
},
728
728
{
729
729
"...": "more characters"
@@ -785,4 +785,4 @@ CIAO 👋
785
785
786
786
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).
787
787
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