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 d84be84 commit d7aefc0Copy full SHA for d7aefc0
1 file changed
lib/internal/webstreams/readablestream.js
@@ -918,7 +918,7 @@ class ReadableStreamBYOBReader {
918
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
919
this[kState] = {
920
stream: undefined,
921
- requestIntoRequests: [],
+ readIntoRequests: [],
922
close: {
923
promise: undefined,
924
resolve: undefined,
@@ -1024,7 +1024,7 @@ class ReadableStreamBYOBReader {
1024
[kInspect](depth, options) {
1025
return customInspect(depth, options, this[kType], {
1026
stream: this[kState].stream,
1027
- requestIntoRequests: this[kState].requestIntoRequests.length,
+ readIntoRequests: this[kState].readIntoRequests.length,
1028
close: this[kState].close.promise,
1029
});
1030
}
0 commit comments