Skip to content

Commit f82af92

Browse files
committed
fixup: update the doc
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 51ee84a commit f82af92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/process.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,8 @@ that started the Node.js process. Symbolic links, if any, are resolved.
17161716
added: v0.1.13
17171717
-->
17181718
1719-
* `code` {integer} The exit code. **Default:** `0`.
1719+
* `code` {integer|string|null|undefined} The exit code. For string type, only
1720+
integer strings (e.g.,'1') are allowed. **Default:** `0`.
17201721
17211722
The `process.exit()` method instructs Node.js to terminate the process
17221723
synchronously with an exit status of `code`. If `code` is omitted, exit uses

0 commit comments

Comments
 (0)