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 4a77a9e commit df78515Copy full SHA for df78515
1 file changed
lib/internal/webstreams/readablestream.js
@@ -925,7 +925,7 @@ class ReadableStreamBYOBReader {
925
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
926
this[kState] = {
927
stream: undefined,
928
- requestIntoRequests: [],
+ readIntoRequests: [],
929
close: {
930
promise: undefined,
931
resolve: undefined,
@@ -1031,7 +1031,7 @@ class ReadableStreamBYOBReader {
1031
[kInspect](depth, options) {
1032
return customInspect(depth, options, this[kType], {
1033
stream: this[kState].stream,
1034
- requestIntoRequests: this[kState].requestIntoRequests.length,
+ readIntoRequests: this[kState].readIntoRequests.length,
1035
close: this[kState].close.promise,
1036
});
1037
}
0 commit comments