Re: [whatwg/streams] Fix readable byte stream example (#1080)

@ricea commented on this pull request.



>  
-   const view = new Uint8Array(buffer, offset, buffer.byteLength - offset);
-   return reader.read(view).then(newView => {
-     return readInto(newView.buffer, offset + newView.byteLength);

Since the new version no longer has a `newView` variable, we should change the explanation below the example to refer to `view` instead.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1080#pullrequestreview-517734413

Received on Tuesday, 27 October 2020 14:00:02 UTC