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

Please wait for @domenic to also take a look at it in case I missed any bugs.

> Furthermore, another bug is the return value of reader.read() is not
destructed, and the buffer is used after detaching.

"destructured", not "destructed" 😄 

The version in the standard never had the bug that the buffer was used after detaching, so you can remove that comment.

-- 
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#issuecomment-717264786

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