doc: fix nits in stream.md
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
- Unify periods and upper case in comments.
- Add missing parentheses for methods.
- Add missing backticks.
- Fix sorting position of
writable.writableFinished
section. - Replace a one-letter variable with a more readable one.
-
catch(console.log)
->catch(console.error)
. - Document missing
emitClose
option innew stream.Readable()
section mentioned instream.Readable
Event: 'close'
andreadable.destroy([error])
sections copying from thenew stream.Writable()
section. Refs:lib/_stream_readable.js#L121
.