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>
v7.x
Sam Roberts 8 years ago
committed by Anna Henningsen
parent
commit
16819d29b0
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  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