Skip to content

Commit

Permalink
doc: indicate the format of process.version
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo committed Aug 22, 2020
1 parent 44e6a6a commit fd97f85
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 @@ -2498,7 +2498,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 fd97f85

Please sign in to comment.