From 084658fbec2d657107610502eb3f3f6c82f253fb Mon Sep 17 00:00:00 2001 From: Tim Kevin Oxley Date: Wed, 9 Jun 2021 15:13:56 -0400 Subject: [PATCH] docs(docs/asynciterable/creating.md): Fix async iterable docs typo s/source/sink (#317) --- docs/asynciterable/creating.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/asynciterable/creating.md b/docs/asynciterable/creating.md index a121dde3..94fb938b 100644 --- a/docs/asynciterable/creating.md +++ b/docs/asynciterable/creating.md @@ -57,7 +57,7 @@ sink.write(2); sink.write(3); sink.end(); -const it = source[Symbol.asyncIterator](); +const it = sink[Symbol.asyncIterator](); let value, done; { value, done } = await it.next();