[whatwg/streams] ReadableStream reference implementation: remove unnecessary code (#992)

Remove an unnecessary statement from ReadableStreamPipeTo.

Also remove no-op return statements. These were already removed from the
standard text already. Also replace "return undefined;" with just
"return;" to match the style used by the standard text.

No functional changes. No spec changes.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/992

-- Commit Summary --

  * ReadableStream reference implementation: remove unnecessary code

-- File Changes --

    M reference-implementation/lib/readable-stream.js (26)

-- Patch Links --

https://github.com/whatwg/streams/pull/992.patch
https://github.com/whatwg/streams/pull/992.diff

-- 
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/992

Received on Tuesday, 19 February 2019 14:25:49 UTC