diff --git a/doc/api/assert.md b/doc/api/assert.md index 3df420cab64ff1..280d10b8cd4a5b 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -308,7 +308,7 @@ added: v0.1.21 * `expected` {any} * `message` {any} **Default:** `'Failed'` * `operator` {string} **Default:** '!=' -* `stackStartFunction` {function} **Default:** `assert.fail` +* `stackStartFunction` {Function} **Default:** `assert.fail` Throws an `AssertionError`. If `message` is falsy, the error message is set as the values of `actual` and `expected` separated by the provided `operator`. If diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 8e165e2c33d7c8..1817ac82027afb 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -720,7 +720,7 @@ changes: `'ipc'` entry. When this option is provided, it overrides `silent`. * `uid` {number} Sets the user identity of the process. (See setuid(2).) * `gid` {number} Sets the group identity of the process. (See setgid(2).) - * `inspectPort` {number|function} Sets inspector port of worker. + * `inspectPort` {number|Function} Sets inspector port of worker. This can be a number, or a function that takes no arguments and returns a number. By default each worker gets its own port, incremented from the master's `process.debugPort`. diff --git a/doc/api/http2.md b/doc/api/http2.md index 4f37400c0cc260..f4d20e2922c9b4 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1236,7 +1236,7 @@ added: v8.4.0 * `options` {Object} * `endStream` {boolean} Set to `true` to indicate that the response will not include payload data. - * `getTrailers` {function} Callback function invoked to collect trailer + * `getTrailers` {Function} Callback function invoked to collect trailer headers. * Returns: {undefined}