doc: revise description of process.ppid

PR-URL: https://github.com/nodejs/node/pull/35589
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Pooja D.P 2020-10-10 22:42:37 +04:00 committed by Rich Trott
parent 8c177c467a
commit dcf708d652

View File

@ -1739,7 +1739,8 @@ added:
* {integer}
The `process.ppid` property returns the PID of the current parent process.
The `process.ppid` property returns the PID of the parent of the
current process.
```js
console.log(`The parent process is pid ${process.ppid}`);