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 <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
dguo authored and Danielle Adams committed Aug 25, 2020
1 parent fff1e7f commit dae93ca
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 @@ -2476,7 +2476,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 dae93ca

Please sign in to comment.