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();