function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm,
                                highWaterMark, sizeAlgorithm,
                                enableBlinkLockNotifications) {
    if (highWaterMark === undefined) {
      highWaterMark = 1;
    }
    if (sizeAlgorithm === undefined) {
      sizeAlgorithm = () => 1;
    }
    // assert(IsNonNegativeNumber(highWaterMark),
    //        '! IsNonNegativeNumber(highWaterMark) is true.');
    const stream = ObjectCreate(ReadableStream_prototype);
    InitializeReadableStream(stream);
    const controller = ObjectCreate(ReadableStreamDefaultController_prototype);
    SetUpReadableStreamDefaultController(
        stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm,
        highWaterMark, sizeAlgorithm, enableBlinkLockNotifications);
    return stream;
  }
// whether the stream is being created from C++.
whether the stream is being created from C++.
whether the stream is being created from C ++ .
function CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm,
                                highWaterMark, sizeAlgorithm,
                                enableBlinkLockNotifications) {
    if (highWaterMark === undefined) {
      highWaterMark = 1;
    }
    if (sizeAlgorithm === undefined) {
      sizeAlgorithm = () => 1;
    }
    const stream = ObjectCreate(ReadableStream_prototype);
    InitializeReadableStream(stream);
    const controller = ObjectCreate(ReadableStreamDefaultController_prototype);
    SetUpReadableStreamDefaultController(
        stream, controller, startAlgorithm, pullAlgorithm, cancelAlgorithm,
        highWaterMark, sizeAlgorithm, enableBlinkLockNotifications);
    return stream;
  }
function CreateReadableStream ( startAlgorithm , pullAlgorithm , cancelAlgorithm , highWaterMark , sizeAlgorithm , enableBlinkLockNotifications ) { if ( highWaterMark === undefined ) { highWaterMark = 1 ; } if ( sizeAlgorithm === undefined ) { sizeAlgorithm = ( ) => 1 ; } const stream = ObjectCreate ( ReadableStream_prototype ) ; InitializeReadableStream ( stream ) ; const controller = ObjectCreate ( ReadableStreamDefaultController_prototype ) ; SetUpReadableStreamDefaultController ( stream , controller , startAlgorithm , pullAlgorithm , cancelAlgorithm , highWaterMark , sizeAlgorithm , enableBlinkLockNotifications ) ; return stream ; }
whether the stream is being created from C++.
whether the stream is being created from C ++ .
// assert(IsNonNegativeNumber(highWaterMark), //        '! IsNonNegativeNumber(highWaterMark) is true.');