We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f020ed commit 4126a6eCopy full SHA for 4126a6e
benchmark/webstreams/pipe-to.js
@@ -18,7 +18,7 @@ async function main({ n, highWaterMarkR, highWaterMarkW }) {
18
const rs = new ReadableStream({
19
highWaterMark: highWaterMarkR,
20
pull: function(controller) {
21
- if (i++ === n) {
+ if (i++ < n) {
22
controller.enqueue(b);
23
} else {
24
controller.close();
0 commit comments