Skip to content

Commit

Permalink
doc: indicate the format of process.version
Browse files Browse the repository at this point in the history
PR-URL: #34872
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
dguo authored and addaleax committed Sep 22, 2020
1 parent 26a596b commit 26b060f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,8 @@ added: v0.1.3

* {string}

The `process.version` property returns the Node.js version string.
The `process.version` property returns the Node.js version string in the form of
`v<major>.<minor>.<patch>`.

```js
console.log(`Version: ${process.version}`);
Expand Down

0 comments on commit 26b060f

Please sign in to comment.