Skip to content

Commit c317652

Browse files
doc: format markdown
2 parents 3ac6c46 + 68b850f commit c317652

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/api/process.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4322,6 +4322,9 @@ Sets the process title. This is equivalent to assigning a string to
43224322
[`process.title`][]. See [`process.title`][] for restrictions and platform
43234323
limitations.
43244324
4325+
If `title` is not a string, `setTitle()` throws a `TypeError`. This differs
4326+
from assigning to [`process.title`][], which coerces the value to a string.
4327+
43254328
```mjs
43264329
import { setTitle } from 'node:process';
43274330

0 commit comments

Comments
 (0)