diff --git a/lib/internal/webstreams/readablestream.js b/lib/internal/webstreams/readablestream.js index 01a4b76660b720..452c6d06df4352 100644 --- a/lib/internal/webstreams/readablestream.js +++ b/lib/internal/webstreams/readablestream.js @@ -815,7 +815,6 @@ class ReadIntoRequest { } - class ReadableStreamDefaultReader { [kType] = 'ReadableStreamDefaultReader'; @@ -2823,7 +2822,7 @@ function readableByteStreamControllerEnqueueChunkToQueue( buffer, byteOffset, byteLength, - }) + }); controller[kState].queueTotalSize += byteLength; } diff --git a/lib/internal/webstreams/util.js b/lib/internal/webstreams/util.js index f0e0ce29d53d4a..0895132b773de1 100644 --- a/lib/internal/webstreams/util.js +++ b/lib/internal/webstreams/util.js @@ -2,8 +2,6 @@ const { ArrayBufferPrototypeSlice, - ArrayPrototypePush, - ArrayPrototypeShift, AsyncIteratorPrototype, FunctionPrototypeCall, MathMax,