[whatwg/streams] Editorial: "return undefined." vs. "return" (#587)

https://streams.spec.whatwg.org/#default-writer-release-lock

> return undefined

There seems to be inconsistent usage between "return undefined." and "return.". I think if a method or operation has no explicit return in its main path, then other paths should use "return." rather than "return undefined.".

There also appear to be some operations that have an unnecessary explicit "return undefined." at the end, but maybe I am just missing the reason for it.

-- 
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/issues/587

Received on Wednesday, 2 November 2016 10:51:05 UTC