Re: [whatwg/streams] add @@asyncIterator to ReadableStreamDefaultReader (#950)

TimothyGu commented on this pull request.



>  }
 
+const ReadableStreamDefaultReaderAsyncIteratorPrototype = Object.setPrototypeOf({
+  _reader: undefined,
+  _cancel: undefined,

Why does the prototype have these properties? The prototype is not an instance of ReadableStreamDefaultReaderAsyncIterator.

-- 
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/950#pullrequestreview-148201438

Received on Tuesday, 21 August 2018 18:53:56 UTC