doc: improve usage of zero/0

PR-URL: https://github.com/nodejs/node/pull/7466
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Bryan English <bryan@bryanenglish.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Rich Trott 2016-06-28 16:58:58 -07:00
parent 99cfd53097
commit 42de4bb819
2 changed files with 2 additions and 2 deletions

View File

@ -699,7 +699,7 @@ added: v0.1.90
Begin accepting connections on the specified `port` and `hostname`. If the
`hostname` is omitted, the server will accept connections on any IPv6 address
(`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a
port value of zero to have the operating system assign an available port.
port value of `0` to have the operating system assign an available port.
To listen to a unix socket, supply a filename instead of port and hostname.

View File

@ -183,7 +183,7 @@ code without properly recovering from the exception can cause additional
unforeseen and unpredictable issues.
Exceptions thrown from within the event handler will not be caught. Instead the
process will exit with a non zero exit code and the stack trace will be printed.
process will exit with a non-zero exit code and the stack trace will be printed.
This is to avoid infinite recursion.
Attempting to resume normally after an uncaught exception can be similar to