diff --git a/lib/internal/streams/readable.js b/lib/internal/streams/readable.js index c789a51a4b3cdb..e7dd60a6d78c13 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -1386,5 +1386,5 @@ Readable.fromWeb = function(readableStream, options) { }; Readable.toWeb = function(streamReadable) { - return lazyWebStreams().newStreamReadableFromReadableStream(streamReadable); + return lazyWebStreams().newReadableStreamFromStreamReadable(streamReadable); };