Browse Source

doc: fix "either as either" typo

PR-URL: https://github.com/nodejs/node/pull/9665
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
v6
Sam Roberts 8 years ago
parent
commit
10e5e7abac
  1. 2
      doc/api/net.md

2
doc/api/net.md

@ -513,7 +513,7 @@ added: v0.1.90
-->
As [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`],
with options either as either `{port: port, host: host}` or `{path: path}`.
with options as either `{port: port, host: host}` or `{path: path}`.
### socket.connecting
<!-- YAML

Loading…
Cancel
Save